_Document.HasPassword Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns True if a password is required to open the specified document.
public:
property bool HasPassword { bool get(); };
public bool HasPassword { get; }
member this.HasPassword : bool
Public ReadOnly Property HasPassword As Boolean