XmlComment(String, XmlDocument) Konstruktor

Definíció

Inicializálja a XmlComment osztály új példányát.

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)

Paraméterek

comment
String

A megjegyzéselem tartalma.

doc
XmlDocument

A szülő XML-dokumentum.

Megjegyzések

Ne hozza létre közvetlenül a példányt XmlComment , hanem használjon olyan metódusokat, mint a CreateNode.

A következőre érvényes: