WorkbookProtection.WorkbookPassword Property

Workbook Password.Represents the attribte in schema: workbookPassword

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "workbookPassword")> _
Public Property WorkbookPassword As HexBinaryValue
    Get
    Set
'Usage
Dim instance As WorkbookProtection
Dim value As HexBinaryValue

value = instance.WorkbookPassword

instance.WorkbookPassword = value
[SchemaAttrAttribute(, "workbookPassword")]
public HexBinaryValue WorkbookPassword { get; set; }

Property Value

Type: DocumentFormat.OpenXml.HexBinaryValue
Returns StringValue.

See Also

Reference

WorkbookProtection Class

WorkbookProtection Members

DocumentFormat.OpenXml.Spreadsheet Namespace