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 prvku komentáře.

doc
XmlDocument

Nadřazený dokument XML.

Poznámky

Nepoužívejte přímou XmlComment instanci. Místo toho použijte metody, jako CreateNodeje .

Platí pro