# NodeComment

Kind: Class  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.NodeComment.html

Represents a node comment in a document.

```csharp
public sealed class NodeComment
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[NodeComment](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Constructors

| Name | Description |
| --- | --- |
| [NodeComment\(string\)](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.-ctor.md#TinyComponents_NodeComment__ctor_System_String_) | Initializes a new instance of the [NodeComment](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.md) class with the specified comment. |

## Properties

| Name | Description |
| --- | --- |
| [Comment](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.Comment.md#TinyComponents_NodeComment_Comment) | Gets or sets the comment text. |

## Methods

| Name | Description |
| --- | --- |
| [ToString\(\)](https://docs.sisk-framework.org/api/TinyComponents.NodeComment.ToString.md#TinyComponents_NodeComment_ToString) | Returns a string representation of the comment in the format of an XML comment. |
