共用方式為


DocumentBase.HasPassword Property

Definition

Gets a value that indicates whether a password is required to open the document.

public:
 property bool HasPassword { bool get(); };
public bool HasPassword { get; }
member this.HasPassword : bool
Public ReadOnly Property HasPassword As Boolean

Property Value

true if a password is required to open the document; otherwise, false.

Applies to