다음을 통해 공유


ContextMenu Constructors

Definition

Overloads

ContextMenu()

Initializes a new instance of the ContextMenu class.

ContextMenu(OpenXmlElement[])

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

ContextMenu(IEnumerable<OpenXmlElement>)

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

ContextMenu(String)

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

ContextMenu()

Initializes a new instance of the ContextMenu class.

public ContextMenu ();
Public Sub New ()

Applies to

ContextMenu(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ContextMenu(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ContextMenu(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to