XmlComment(String, XmlDocument) Constructor

Definición

Inicializa una nueva instancia de la clase XmlComment.

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

Contenido del elemento comment.

doc
XmlDocument

Documento XML primario.

Comentarios

No cree una instancia de directamente XmlComment ; en su lugar, use métodos como CreateNode.

Se aplica a