다음을 통해 공유


Xml.Document 속성

정의

주의

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

컨트롤에 XmlDocument 표시 Xml 할 값을 가져오거나 설정합니다.

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

속성 값

XmlDocument 컨트롤에 표시할 개체입니다Xml.

특성

설명

Document 속성은 더 이상 사용되지 않으며, 이미 구식입니다. 컨트롤에 표시할 XML을 Xml 지정하려면 속성 또는 DocumentSource 속성을 사용합니다DocumentContent. 이러한 대안에 대한 자세한 내용은 컨트롤에 대한 클래스 개요를 Xml 참조하세요.

컨트롤에 Xml 표시할 XML 문서는 세 가지 방법 중 하나로 지정됩니다. 적절한 속성을 설정하여 개체, XML 문자열 또는 XML 파일을 지정할 System.Xml.XmlDocument 수 있습니다. 이 Document 속성은 컨트롤에 표시할 XML 문서를 지정 System.Xml.XmlDocument 하는 데 사용됩니다.

적용 대상

추가 정보