Share via


SampleData Constructors

Definition

Overloads

SampleData()

Initializes a new instance of the SampleData class.

SampleData(OpenXmlElement[])

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

SampleData(IEnumerable<OpenXmlElement>)

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

SampleData(String)

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

SampleData()

Initializes a new instance of the SampleData class.

public SampleData ();
Public Sub New ()

Applies to

SampleData(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SampleData(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SampleData(String)

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

public SampleData (string outerXml);
new DocumentFormat.OpenXml.Drawing.Diagrams.SampleData : string -> DocumentFormat.OpenXml.Drawing.Diagrams.SampleData
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to