Document.ProtectionType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the protection type for the document.
public:
property Microsoft::Office::Interop::Word::WdProtectionType ProtectionType { Microsoft::Office::Interop::Word::WdProtectionType get(); };
public Microsoft.Office.Interop.Word.WdProtectionType ProtectionType { get; }
member this.ProtectionType : Microsoft.Office.Interop.Word.WdProtectionType
Public ReadOnly Property ProtectionType As WdProtectionType
Property Value
The returned protection type can be one of the following WdProtectionType constants: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions, or wdNoProtection.