Share via


Document.ProtectionType-Eigenschaft

Ruft den Schutztyp für das Dokument ab.

Namespace:  Microsoft.Office.Tools.Word
Assemblys:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property ProtectionType As WdProtectionType
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