Share via


Schema Constructors

Definition

Overloads

Schema()

Initializes a new instance of the Schema class.

Schema(OpenXmlElement[])

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

Schema(IEnumerable<OpenXmlElement>)

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

Schema(String)

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

Schema()

Initializes a new instance of the Schema class.

public Schema ();
Public Sub New ()

Applies to

Schema(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Schema(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Schema(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to