Menu Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Menu() |
Initializes a new instance of the Menu class. |
Menu(OpenXmlElement[]) |
Initializes a new instance of the Menu class with the specified child elements. |
Menu(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Menu class with the specified child elements. |
Menu(String) |
Initializes a new instance of the Menu class from outer XML. |
Menu()
Initializes a new instance of the Menu class.
public Menu ();
Public Sub New ()
Applies to
Menu(OpenXmlElement[])
Initializes a new instance of the Menu class with the specified child elements.
public Menu (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office.CustomUI.Menu : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office.CustomUI.Menu
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Menu(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Menu class with the specified child elements.
public Menu (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office.CustomUI.Menu : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office.CustomUI.Menu
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Menu(String)
Initializes a new instance of the Menu class from outer XML.
public Menu (string outerXml);
new DocumentFormat.OpenXml.Office.CustomUI.Menu : string -> DocumentFormat.OpenXml.Office.CustomUI.Menu
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.