XmlComment(String, XmlDocument) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

comment
String

Zawartość elementu komentarza.

doc
XmlDocument

Nadrzędny dokument XML.

Uwagi

Nie twórz wystąpienia XmlComment bezpośrednio; zamiast tego należy użyć metod, takich jak CreateNode.

Dotyczy