XmlDocument.Implementation プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > XmlDocument.Implementation プロパティの意味・解説 

XmlDocument.Implementation プロパティ

現在のドキュメントの XmlImplementation オブジェクトを取得します。

名前空間: System.Xml
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Dim instance As XmlDocument
Dim value As XmlImplementation

value = instance.Implementation
public XmlImplementation Implementation { get;
 }
public:
property XmlImplementation^ Implementation {
    XmlImplementation^ get ();
}
/** @property */
public XmlImplementation get_Implementation ()

プロパティ値
現在のドキュメントの XmlImplementation オブジェクト。

解説解説

同じ XmlImplementation から作成された XmlDocument オブジェクトは、同じ XmlNameTable を共有します。このため、ユーザーは属性名と要素名を文字列ではなくオブジェクトとして比較できます。

XmlDocument オブジェクトは同じ実装を共有しますが、1 つのドキュメントから別のドキュメントにノードを移動するには、ImportNode メソッドを使用する必要があります。

使用例使用例

別のドキュメントの実装を使用して、新しい XmlDocument を作成する例を次に示します。

Dim doc1 As New XmlDocument()
doc1.Load("books.xml")
Dim doc2 As XmlDocument = doc1.Implementation.CreateDocument()
XmlDocument doc1 = new XmlDocument();
 doc1.Load("books.xml");
 XmlDocument doc2 = doc1.Implementation.CreateDocument();
XmlDocument^ doc1 = gcnew XmlDocument;
doc1->Load( "books.xml" );
XmlDocument^ doc2 = doc1->Implementation->CreateDocument();
XmlDocument doc1 = new XmlDocument();
doc1.Load("books.xml");
XmlDocument doc2 = doc1.get_Implementation().CreateDocument();
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

XmlDocument.Implementation プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



XmlDocument.Implementation プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS