
# ICommentedDocument interface

*No description yet.*

```csharp
public interface ICommentedDocument
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [ActiveCommentThread](#activecommentthread) | [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) | get; set |  |

### ActiveCommentThread

*No description yet.*

```csharp
IEDMS_CommentThreadHolder GetActiveCommentThread();
void SetActiveCommentThread(IEDMS_CommentThreadHolder argCommentThread);
```

**Type:** [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) · **Access:** read/write

The accessors are extension methods of `ICommentedDocumentHelper` (`using DXP;`).

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddCommentThread](#addcommentthread) | `void` |  |
| [ClearCommentThreads](#clearcommentthreads) | `void` |  |
| [GetCommentThread](#getcommentthread) | [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) |  |
| [GetCommentThreadByGUID](#getcommentthreadbyguid) | [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) |  |
| [GetCommentThreadsCount](#getcommentthreadscount) | `int` |  |
| [SelectCommentThread](#selectcommentthread) | `bool` |  |

### AddCommentThread

*No description yet.*

```csharp
void AddCommentThread(IEDMS_CommentThreadHolder argCommentThread);
void AddCommentThread(object argCommentThread);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommentThread` | [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `ICommentedDocumentHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### ClearCommentThreads

*No description yet.*

```csharp
void ClearCommentThreads();
```

**Returns:** nothing (`void`)

### GetCommentThread

*No description yet.*

```csharp
IEDMS_CommentThreadHolder GetCommentThread(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md)

Extension method of `ICommentedDocumentHelper` (`using DXP;`).

### GetCommentThreadByGUID

*No description yet.*

```csharp
IEDMS_CommentThreadHolder GetCommentThreadByGUID(string argThreadGUID);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argThreadGUID` | `string` | value |

**Returns:** [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md)

Extension method of `ICommentedDocumentHelper` (`using DXP;`).

### GetCommentThreadsCount

*No description yet.*

```csharp
int GetCommentThreadsCount();
```

**Returns:** `int`

### SelectCommentThread

*No description yet.*

```csharp
bool SelectCommentThread(IEDMS_CommentThreadHolder argCommentThread);
bool SelectCommentThread(object argCommentThread);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommentThread` | [IEDMS_CommentThreadHolder](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThreadHolder.md) | value |

**Returns:** `bool`

The first overload is an extension method of `ICommentedDocumentHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.
