XmlImplementation XmlImplementation XmlImplementation XmlImplementation Class

定義

定義一組 XmlDocument 物件的內容。Defines the context for a set of XmlDocument objects.

public ref class XmlImplementation
public class XmlImplementation
type XmlImplementation = class
Public Class XmlImplementation
繼承
XmlImplementationXmlImplementationXmlImplementationXmlImplementation

備註

XmlDocument從相同的執行建立的物件會共用相同XmlNameTable的。XmlDocument objects that are created from the same implementation share the same XmlNameTable. 這可讓使用者更有效率地比較物件之間的屬性和元素名稱。This enables users to compare attribute and element names between the objects more efficiently.

雖然物件共用相同的執行,但若要將節點從一個檔移到另一個,您ImportNode必須使用方法。 XmlDocumentAlthough the XmlDocument objects share the same implementation, to move nodes from one document to another, you must use the ImportNode method.

建構函式

XmlImplementation() XmlImplementation() XmlImplementation() XmlImplementation()

初始化 XmlImplementation 類別的新執行個體。Initializes a new instance of the XmlImplementation class.

XmlImplementation(XmlNameTable) XmlImplementation(XmlNameTable) XmlImplementation(XmlNameTable) XmlImplementation(XmlNameTable)

使用指定的 XmlImplementation,初始化 XmlNameTable 類別的新執行個體。Initializes a new instance of the XmlImplementation class with the XmlNameTable specified.

方法

CreateDocument() CreateDocument() CreateDocument() CreateDocument()

建立新的 XmlDocumentCreates a new XmlDocument.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
HasFeature(String, String) HasFeature(String, String) HasFeature(String, String) HasFeature(String, String)

測試文件物件模型 (DOM) 實作是否實作指定的功能。Tests if the Document Object Model (DOM) implementation implements a specific feature.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

適用於