Partager via


WorkbookClass.HasPassword Property

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

Syntax

'Declaration
Public Overridable ReadOnly Property HasPassword As Boolean
    Get
'Usage
Dim instance As WorkbookClass
Dim value As Boolean

value = instance.HasPassword
public virtual bool HasPassword { get; }

Property Value

Type: System.Boolean

Implements

_Workbook.HasPassword

See Also

Reference

WorkbookClass Class

WorkbookClass Members

Microsoft.Office.Interop.Excel Namespace