_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
Show: