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