Editar

Compartir vía


XmlComment(String, XmlDocument) Constructor

Definition

Initializes a new instance of the XmlComment class.

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)

Parameters

comment
String

The content of the comment element.

doc
XmlDocument

The parent XML document.

Remarks

Do not instantiate a XmlComment directly; instead, use methods such as CreateNode.

Applies to