Export (0) Print
Expand All
Expand Minimize

_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)

'Declaration
ReadOnly Property HasPassword As Boolean
	Get
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.HasPassword

Property Value

Type: System.Boolean

Community Additions

ADD
Show:
© 2014 Microsoft