Proprietà Document.ProtectionType

Ottiene il tipo di protezione per il documento.

Spazio dei nomi:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Sintassi

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

Valore proprietà

Tipo: Microsoft.Office.Interop.Word.WdProtectionType
Il tipo di protezione restituito può essere dato da una delle seguenti costanti WdProtectionType: wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions o wdNoProtection.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Document Interfaccia

Spazio dei nomi Microsoft.Office.Tools.Word