Freigeben über


SchemaReferences-Klasse

Set of Associated XML Schemas.When the object is serialized out as xml, its qualified name is ds:schemaRefs.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.CustomXmlDataProperties.SchemaReferences

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • SchemaReference <ds:schemaRef>

[ISO/IEC 29500-1 1. Ausgabe]

22.5.2.3 schemaRefs (Set of Associated XML Schemas)

This element specifies the set of XML schemas that are associated with the parent custom XML part. Any number of XML schemas can be referenced, and this collection of schemas shall then be used to validate the contents of the corresponding custom XML part. If this element is present, then the set of XML schemas provided within should be used to validate the contents of the corresponding custom XML part (including the explicit presence of no child elements to specify that no custom XML schemas should be used even if one is present).

If this element is omitted, then applications can determine the set of XML schemas to be used to validate the contents of this part using any desired means.

[Example: Consider the following content for a custom XML part properties part:

<ds:datastoreItem ds:itemID="{A67AC88A-A164-4ADE-8889-8826CE44DE6E}">
<ds:schemaRefs>
<ds:schemaRef ds:uri="http://www.example.com/exampleSchema" />
</ds:schemaRefs>
</ds:datastoreItem>

The schemaRefs element contains the set of XML Schema references that can be used to validate the contents of this part. end example]

Parent Elements

datastoreItem (§22.5.2.1)

Child Elements

Subclause

schemaRef (Associated XML Schema)

§22.5.2.2

[Note: The W3C XML Schema definition of this element's content model (CT_DatastoreSchemaRefs) is located in §A.6.5. 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

SchemaReferences-Member

DocumentFormat.OpenXml.CustomXmlDataProperties-Namespace