共用方式為


Workbook.WorkbookProtection Property

Workbook Protection.Represents the element tag in schema: x:workbookProtection

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

Syntax

'Declaration
Public Property WorkbookProtection As WorkbookProtection
    Get
    Set
'Usage
Dim instance As Workbook
Dim value As WorkbookProtection

value = instance.WorkbookProtection

instance.WorkbookProtection = value
public WorkbookProtection WorkbookProtection { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Spreadsheet.WorkbookProtection

See Also

Reference

Workbook Class

Workbook Members

DocumentFormat.OpenXml.Spreadsheet Namespace