XmlComment(String, XmlDocument) Construtor
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.
Inicializa uma nova instância da XmlComment classe.
protected public:
XmlComment(System::String ^ comment, System::Xml::XmlDocument ^ doc);
protected internal XmlComment(string comment, System.Xml.XmlDocument doc);
protected internal XmlComment(string? comment, System.Xml.XmlDocument doc);
new System.Xml.XmlComment : string * System.Xml.XmlDocument -> System.Xml.XmlComment
Protected Friend Sub New (comment As String, doc As XmlDocument)
Parâmetros
- comment
- String
O conteúdo do elemento de comentário.
- doc
- XmlDocument
O documento XML pai.
Observações
Não instanciar um XmlComment diretamente; em vez disso, use métodos como CreateNode.