Class
NodeComment
Represents a node comment in a document.
public sealed class NodeCommentInheritance #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| NodeComment(string) | Initializes a new instance of the NodeComment class with the specified comment. |
Properties #
| Name | Description |
|---|---|
| Comment | Gets or sets the comment text. |
Methods #
| Name | Description |
|---|---|
| ToString() | Returns a string representation of the comment in the format of an XML comment. |