Topic 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
| 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.TopicPublic 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.TopicPublic 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.TopicPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.