XmlComment Constructor (String^, XmlDocument^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlComment class.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public protected:
XmlComment(
	String^ comment,
	XmlDocument^ doc
)

Parameters

comment
Type: System::String^

The content of the comment element.

doc
Type: System.Xml::XmlDocument^

The parent XML document.

Do not instantiate a XmlComment directly; instead, use methods such as CreateNode.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: