_Document.HasPassword Property

Returns True if a password is required to open the specified document.

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

bool HasPassword { get; }

Property Value

Type: System.Boolean

Community Additions

ADD
Show: