Share via


PrimaryItem Constructors

Definition

Overloads

PrimaryItem()

Initializes a new instance of the PrimaryItem class.

PrimaryItem(OpenXmlElement[])

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

PrimaryItem(IEnumerable<OpenXmlElement>)

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

PrimaryItem(String)

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

PrimaryItem()

Initializes a new instance of the PrimaryItem class.

public PrimaryItem ();
Public Sub New ()

Applies to

PrimaryItem(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

PrimaryItem(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

PrimaryItem(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to