XmlComment(String, XmlDocument) Konstruktor

Definisi

Menginisialisasi instans baru dari kelas 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)

Parameter

comment
String

Konten elemen komentar.

doc
XmlDocument

Dokumen XML induk.

Keterangan

Jangan membuat instans secara XmlComment langsung; sebagai gantinya, gunakan metode seperti CreateNode.

Berlaku untuk