Aracılığıyla paylaş


Xml.Document Özellik

Tanım

Dikkat

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

öğesini denetimde Xml görüntülenecek şekilde alır veya ayarlarXmlDocument.

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

Özellik Değeri

XmlDocument Denetimde görüntülenecek.Xml

Öznitelikler

Açıklamalar

Document Özelliği kullanımdan kaldırıldı. Denetimde görüntülenecek XML'yi Xml belirtmek için özelliğini veya DocumentSource özelliğini kullanınDocumentContent. Bu alternatifler hakkında daha fazla bilgi için denetim için sınıfa genel bakış konusuna Xml bakın.

Denetimde Xml görüntülenecek XML belgesi üç yoldan biriyle belirtilir. Uygun özelliği ayarlayarak bir System.Xml.XmlDocument nesne, XML dizesi veya XML dosyası belirtebilirsiniz. Document özelliği, denetimde görüntülenecek bir System.Xml.XmlDocument (XML belgesini temsil eden) belirtmek için kullanılır.

Şunlara uygulanır

Ayrıca bkz.