Xml.Document プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator. http://go.microsoft.com/fwlink/?linkid=14202
Xml コントロールに表示するXmlDocumentを取得または設定します。
public:
property System::Xml::XmlDocument ^ Document { System::Xml::XmlDocument ^ get(); void set(System::Xml::XmlDocument ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Xml.XmlDocument Document { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator. http://go.microsoft.com/fwlink/?linkid=14202")]
public System.Xml.XmlDocument Document { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Document : System.Xml.XmlDocument with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Document : System.Xml.XmlDocument with get, set
Public Property Document As XmlDocument
プロパティ値
Xml コントロールに表示するXmlDocument。
- 属性
注釈
Document プロパティは廃止されています。 Xml コントロールに表示される XML を指定するには、DocumentContent プロパティまたは DocumentSource プロパティを使用します。 これらの代替方法の詳細については、 Xml コントロールのクラスの概要を参照してください。
Xml コントロールに表示する XML ドキュメントは、3 つの方法のいずれかで指定します。 適切なプロパティを設定することで、 System.Xml.XmlDocument オブジェクト、XML 文字列、または XML ファイルを指定できます。 Document プロパティは、コントロールに表示するSystem.Xml.XmlDocument (XML ドキュメントを表す) を指定するために使用されます。