CreateComment()

XmlDocument::CreateComment(const String&) method

Creates an XmlComment containing the specified data.

virtual SharedPtr<XmlComment> System::Xml::XmlDocument::CreateComment(const String &data)

Arguments

ParameterTypeDescription
dataconst String&The content of the new XmlComment.

Return Value

The new XmlComment.

See Also