Share via


MenuRoot Constructors

Definition

Overloads

MenuRoot()

Initializes a new instance of the MenuRoot class.

MenuRoot(OpenXmlElement[])

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

MenuRoot(IEnumerable<OpenXmlElement>)

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

MenuRoot(String)

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

MenuRoot()

Initializes a new instance of the MenuRoot class.

public MenuRoot ();
Public Sub New ()

Applies to

MenuRoot(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

MenuRoot(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

MenuRoot(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to