XmlComment(String, XmlDocument) Konstruktor

Definition

Initierar en ny instans av XmlComment klassen.

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)

Parametrar

comment
String

Innehållet i kommentarselementet.

doc
XmlDocument

Det överordnade XML-dokumentet.

Kommentarer

Instansiera inte en XmlComment direkt. Använd i stället metoder som CreateNode.

Gäller för