次の方法で共有


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 初版]

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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.

See Also

Reference

Schema Members

DocumentFormat.OpenXml.Spreadsheet Namespace