WorkbookProtection.WorkbookPassword Property

Workbook Password.Represents the attribte in schema: workbookPassword

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

Syntax

'宣言
<SchemaAttrAttribute(, "workbookPassword")> _
Public Property WorkbookPassword As HexBinaryValue
    Get
    Set
'使用
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