Freigeben über


Schema-Klasse

XML Schema.When the object is serialized out as xml, its qualified name is x:Schema.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Schema

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Schema _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Schema
public class Schema : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

[ISO/IEC 29500-1 1. Ausgabe]

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:

ID = "Schema1"

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:

<MapInfo SelectionNamespaces="…">
<Schema ID="Schema1" Namespace="…">

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:

<Schema … SchemaLanguage="application/relax-ng-compact-syntax"/>

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Schema-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace