Share via


WorkbookPart.Workbook Property

Gets/Sets the root element of this part.

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

Syntax

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

value = instance.Workbook

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

Property Value

Type: DocumentFormat.OpenXml.Spreadsheet.Workbook

See Also

Reference

WorkbookPart Class

WorkbookPart Members

DocumentFormat.OpenXml.Packaging Namespace