XmlMapping 類別

定義

支援 .NET Framework 型別與 XML 結構描述資料型別之間的對應。Supports mappings between .NET Framework types and XML Schema data types.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public ref class XmlMapping abstract
public abstract class XmlMapping
type XmlMapping = class
Public MustInherit Class XmlMapping
繼承
XmlMapping
衍生

備註

XmlMappingXmlTypeMappingXmlMembersMapping 類別的基類。XmlMapping is the base class for the XmlTypeMapping and XmlMembersMapping classes. 它支援內建和自訂 XML 架構資料類型,再加上 SOAP 編碼(SOAP 1.1 規格的第5節)。It supports built-in and custom XML schema data types, plus SOAP encoding (Section 5 of the SOAP 1.1 specification). 使用 XmlTypeMappingXmlMemberMapping 類別,而不是直接從 XmlMapping衍生類別。Use the XmlTypeMapping or XmlMemberMapping class instead of deriving a class directly from XmlMapping.

屬性

ElementName

取得對應之元素的名稱。Gets the name of the mapped element.

Namespace

取得對應之項目的命名空間。Gets the namespace of the mapped element.

XsdElementName

取得對應之 XSD 項目的名稱。Gets the name of the XSD element of the mapping.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
SetKey(String)

設定用來查閱對應的索引鍵。Sets the key used to look up the mapping.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱