Schema Class
XML Schema.When the object is serialized out as xml, its qualified name is x:Schema.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.Schema
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Class Schema _
Inherits OpenXmlCompositeElement
用法
Dim instance As Schema
public class Schema : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
[ISO/IEC 29500-1 第 1 个版本]
18.16.4 Schema (XML Schema)
This element contains the XML tree for an attached schema.
[Note: This element is not intended to reintroduce transitional schema into the strict conformance class. end note]
Parent Elements |
---|
MapInfo (§18.16.3) |
Child Elements |
Subclause |
---|---|
Any element in any namespace |
n/a |
Attributes |
Description |
---|---|
ID (Schema ID) |
Specifies the unique name or ID for this attached schema. [Example:
end example] The possible values for this attribute are defined by the W3C XML Schema string datatype. |
Namespace (Schema Root Namespace) |
Specifies the namespace used by the schema. [Example:
end example] The possible values for this attribute are defined by the W3C XML Schema string datatype. |
SchemaLanguage (Schema Language) |
Specifies the media type of the schema language. [Example:
end example] The possible values for this attribute are defined by the W3C XML Schema token datatype. |
SchemaRef (Schema Reference) |
The schemaRef attribute is used in the specific case where the schema definition happens to include another schema file that contributes to the same namespace. The value of this attribute is the relative path to a "root" schema file on disk which in turn references the other schema files contributing type definitions to the same namespace. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
[Note: The W3C XML Schema definition of this element's content model (CT_Schema) is located in §A.2. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.