Xml.Document Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Atenção
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
Obtém ou define o XmlDocument para mostrar no Xml controlo.
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
Valor de Propriedade
O XmlDocument to é exibido no Xml controlo.
- Atributos
Observações
A Document propriedade está obsoleta. Para especificar o XML que será exibido no Xml controlo, use a DocumentContent propriedade ou a DocumentSource propriedade. Para mais informações sobre estas alternativas, consulte a visão geral da classe para o Xml controlo.
O documento XML a mostrar no Xml controlo é especificado de três formas. Pode especificar um System.Xml.XmlDocument objeto, uma string XML ou um ficheiro XML definindo a propriedade apropriada. A Document propriedade é usada para especificar um System.Xml.XmlDocument (representando um documento XML) a ser exibido no controlo.