Freigeben über


SchemaLibrary-Klasse

Embedded Custom XML Schema Supplementary Data.When the object is serialized out as xml, its qualified name is sl:schemaLibrary.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.CustomXmlSchemaReferences.SchemaLibrary

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Schema))> _
Public Class SchemaLibrary _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As SchemaLibrary
[ChildElementInfoAttribute(typeof(Schema))]
public class SchemaLibrary : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • Schema <sl:schema>

[ISO/IEC 29500-1 1. Ausgabe]

23.2.2 schemaLibrary (Embedded Custom XML Schema Supplementary Data)

This element specifies the set of XML namespaces which have been associated with the contents of the custom XML markup within the current Office Open XML document. Each unique namespace which is referenced within the document can be referenced within this element by a single schema element, regardless of the number of constituent XML schemas which comprise that namespace.

[Example: Consider a WordprocessingML document which contains custom XML markup in two distinct namespaces: the http://www.example.com namespace and the http://www.example2.com namespace. If the first namespace is defined by a single XML schema, and the second is defined by five XML schemas (which are cross-referenced using the appropriate XML Schema syntax), the following content would be displayed in the document's schema library XML:

<sl:schemaLibrary>
<sl:schema … />
<sl:schema … />
</sl:schemaLibrary>

The schemaLibrary element contains only two schema elements even though there are six XML schemas in use, as there are only two distinct namespaces for which data is stored. end example]

Parent Elements

settings (§17.15.1.78)

Child Elements

Subclause

schema (Custom XML Schema Reference)

§23.2.1

[ISO/IEC 29500-1 1. Ausgabe]

© 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

SchemaLibrary-Member

DocumentFormat.OpenXml.CustomXmlSchemaReferences-Namespace