XmlComment(String, XmlDocument) コンストラクター

定義

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)

パラメーター

comment
String

コメント要素の内容。

doc
XmlDocument

親 XML ドキュメント。

注釈

直接インスタンス化 XmlComment しないでください。代わりに、次のような CreateNodeメソッドを使用します。

適用対象