Freigeben über


MapInfo-Klasse

XML Mapping. It is the root element of CustomXmlMappingsPart.When the object is serialized out as xml, its qualified name is x:MapInfo.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Spreadsheet.MapInfo

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • Schema <x:Schema>

  • Map <x:Map>

[ISO/IEC 29500-1 1. Ausgabe]

18.16.3 MapInfo (XML Mapping)

This element acts as the container for all of the XML schemas and maps attached to the SpreadsheetML document.

Parent Elements

Root element of SpreadsheetML Custom XML Mappings part

Child Elements

Subclause

Map (XML Mapping Properties)

§18.16.2

Schema (XML Schema)

§18.16.4

Attributes

Description

SelectionNamespaces (Prefix Mappings for XPath Expressions)

Specifies namespaces for use in XPath expressions when it is necessary to define new namespaces externally. Namespaces are defined in the XML style, as a space-separated list of namespace declaration attributes

[Example: The following example contains elements that belong to "a" and "b", in addition to elements that do not belong to any namespace.

<?xml version="1.0"?>
<root>
<branch>branch</branch>
<a:root xmlns:a="http://myserver.com">
<a:branch>a-branch</a:branch>
<b:branch xmlns:b="http://yourserver.com">
b-branch</b:branch>
</a:root>
</root>

end example]

This is used when writing Xpath expressions at runtime against the XML instance structures, because the Xpath expressions use namespace prefixes instead of the fully spelled out 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_MapInfo) 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

MapInfo-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace