Export (0) Print
Expand All
Expand Minimize

_Document.ProtectionType Property

Returns the protection type for the specified document.

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

'Declaration
ReadOnly Property ProtectionType As WdProtectionType
	Get
'Usage
Dim instance As _Document
Dim value As WdProtectionType

value = instance.ProtectionType

The returned protection type can be one of the following WdProtectionType constants: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions, or wdNoProtection.

Community Additions

ADD
Show:
© 2015 Microsoft