Freigeben über


Document.ProtectionType-Eigenschaft

Ruft den Schutztyp für das Dokument ab.

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

Syntax

'Declaration
ReadOnly Property ProtectionType As WdProtectionType
    Get
WdProtectionType ProtectionType { get; }

Eigenschaftswert

Typ: Microsoft.Office.Interop.Word.WdProtectionType
Bei dem zurückgegebenen Schutztyp kann es sich um eine der folgenden WdProtectionType-Konstanten handeln: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions oder wdNoProtection.

.NET Framework-Sicherheit

Siehe auch

Referenz

Document Schnittstelle

Microsoft.Office.Tools.Word-Namespace