XmlComment(String, XmlDocument) Konstruktor

Definice

Inicializuje novou instanci XmlComment třídy.

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

Obsah elementu komentáře.

doc
XmlDocument

Nadřazený dokument XML.

Poznámky

Vytvořte instanci XmlComment přímo; místo toho použijte metody, jako CreateNodeje .

Platí pro