Share via


Topic Constructors

Definition

Overloads

Topic()

Initializes a new instance of the Topic class.

Topic(OpenXmlElement[])

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

Topic(IEnumerable<OpenXmlElement>)

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

Topic(String)

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

Topic()

Initializes a new instance of the Topic class.

public Topic ();
Public Sub New ()

Applies to

Topic(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Topic(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Topic(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to