共用方式為


Category Constructors

Definition

Overloads

Category()

Initializes a new instance of the Category class.

Category(OpenXmlElement[])

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

Category(IEnumerable<OpenXmlElement>)

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

Category(String)

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

Category()

Initializes a new instance of the Category class.

public Category ();
Public Sub New ()

Applies to

Category(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Category(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Category(String)

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

public Category (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Category : string -> DocumentFormat.OpenXml.Wordprocessing.Category
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to