_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)
Syntax
'Declaration
ReadOnly Property ProtectionType As WdProtectionType
Get
'Usage
Dim instance As _Document
Dim value As WdProtectionType
value = instance.ProtectionType
WdProtectionType ProtectionType { get; }
Property Value
Type: Microsoft.Office.Interop.Word.WdProtectionType
Remarks
The returned protection type can be one of the following WdProtectionType constants: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions, or wdNoProtection.