XmlDocument.CreateComment(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a comment node that contains the supplied data.
public:
virtual XmlComment ^ CreateComment(Platform::String ^ data) = CreateComment;
XmlComment CreateComment(winrt::hstring const& data);
public XmlComment CreateComment(string data);
function createComment(data)
Public Function CreateComment (data As String) As XmlComment
Parameters
- data
-
String
Platform::String
winrt::hstring
The value to be supplied to the new comment object's NodeValue.
Returns
The newly created comment node.