WdProtectedViewCloseReason Enumeration

Specifies how the Protected View window was closed.

Version Information

Version Added: Word 2010

Name

Value

Description

wdProtectedViewCloseEdit

1

The window was closed when the user clicked the Enable Editing or Edit Anyway button while in Protected View.

wdProtectedViewCloseForced

2

The window was closed because the application shut it down forcefully or it stopped responding.

wdProtectedViewCloseNormal

0

The window was closed normally.