WdProtectedViewCloseReason Enumeration

Specifies how the Protected View window was closed.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public enum WdProtectedViewCloseReason

Member nameDescription
wdProtectedViewCloseNormalThe window was closed normally.
wdProtectedViewCloseEditThe window was closed when the user clicked the Enable Editing or Edit Anyway button while in Protected View.
wdProtectedViewCloseForcedThe window was closed because the application shut it down forcefully or it stopped responding.