Initializes a new instance of the XComment class with the specified string content.
The value parameter is null.
The following example creates an element that contains a comment as a child node.
StringBuilder output = new StringBuilder();
XElement root = new XElement("Root",
new XComment("This is a comment")
output.Append(root + Environment.NewLine);
OutputTextBlock.Text = output.ToString();
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.