Share via


_Document.ProtectionType Propriété

Définition

Renvoie le type de protection pour le document spécifié.

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

Valeur de propriété

Remarques

Le type de protection retourné peut être l’une des constantes suivantes WdProtectionType : wdAllowOnlyComments, wdAllowOnlyFormFields, wdAllowOnlyReading, wdAllowOnlyRevisions ou wdNoProtection.

S’applique à