共用方式為


OfficeMenu Constructors

Definition

Overloads

OfficeMenu()

Initializes a new instance of the OfficeMenu class.

OfficeMenu(OpenXmlElement[])

Initializes a new instance of the OfficeMenu class with the specified child elements.

OfficeMenu(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OfficeMenu class with the specified child elements.

OfficeMenu(String)

Initializes a new instance of the OfficeMenu class from outer XML.

OfficeMenu()

Initializes a new instance of the OfficeMenu class.

public OfficeMenu ();
Public Sub New ()

Applies to

OfficeMenu(OpenXmlElement[])

Initializes a new instance of the OfficeMenu class with the specified child elements.

public OfficeMenu (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

OfficeMenu(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OfficeMenu class with the specified child elements.

public OfficeMenu (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

OfficeMenu(String)

Initializes a new instance of the OfficeMenu class from outer XML.

public OfficeMenu (string outerXml);
new DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu : string -> DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to