
# IEDMS_CommentsService interface

*No description yet.*

```csharp
public interface IEDMS_CommentsService
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [CloseThread](#closethread) | `void` |  |
| [CreateComment](#createcomment) | `string` |  |
| [CreateThread](#createthread) | `string` |  |
| [DeleteComment](#deletecomment) | `void` |  |
| [DeleteThread](#deletethread) | `void` |  |
| [GetThread](#getthread) | [IEDMS_CommentThread](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentThread.md) |  |
| [GetThreadHolders](#getthreadholders) | [IInterfaceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md) |  |
| [GetThreadsCount](#getthreadscount) | `int` |  |
| [OpenThread](#openthread) | `void` |  |
| [Preferences](#preferences) | [IEDMS_CommentsServicePreferences](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_CommentsServicePreferences.md) |  |
| [UpdateComment](#updatecomment) | `void` |  |
| [UpdateThread](#updatethread) | `void` |  |

### CloseThread

*No description yet.*

```csharp
void CloseThread(string argTHREADID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTHREADID` | `string` | value |
| `argErrorMsg` | `string` | out |

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

### CreateComment

*No description yet.*

```csharp
string CreateComment(string argTHREADID, string argText, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTHREADID` | `string` | value |
| `argText` | `string` | value |
| `argErrorMsg` | `string` | out |

**Returns:** `string`

### CreateThread

*No description yet.*

```csharp
string CreateThread(string argManagedProjectGUID, string argDATA, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argManagedProjectGUID` | `string` | value |
| `argDATA` | `string` | value |
| `argErrorMsg` | `string` | out |

**Returns:** `string`

### DeleteComment

*No description yet.*

```csharp
void DeleteComment(string argCommentId, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommentId` | `string` | value |
| `argErrorMsg` | `string` | out |

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

### DeleteThread

*No description yet.*

```csharp
void DeleteThread(string argTHREADID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTHREADID` | `string` | value |
| `argErrorMsg` | `string` | out |

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

### GetThread

*No description yet.*

```csharp
IEDMS_CommentThread GetThread(int argIndex, string argManagedProjectGUID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |
| `argManagedProjectGUID` | `string` | value |
| `argErrorMsg` | `string` | out |

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

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

### GetThreadHolders

*No description yet.*

```csharp
IInterfaceList GetThreadHolders(string argManagedProjectGUID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argManagedProjectGUID` | `string` | value |
| `argErrorMsg` | `string` | out |

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

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

### GetThreadsCount

*No description yet.*

```csharp
int GetThreadsCount(string argManagedProjectGUID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argManagedProjectGUID` | `string` | value |
| `argErrorMsg` | `string` | out |

**Returns:** `int`

### OpenThread

*No description yet.*

```csharp
void OpenThread(string argTHREADID, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTHREADID` | `string` | value |
| `argErrorMsg` | `string` | out |

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

### Preferences

*No description yet.*

```csharp
IEDMS_CommentsServicePreferences Preferences();
```

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

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

### UpdateComment

*No description yet.*

```csharp
void UpdateComment(string argCommentId, string argText, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommentId` | `string` | value |
| `argText` | `string` | value |
| `argErrorMsg` | `string` | out |

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

### UpdateThread

*No description yet.*

```csharp
void UpdateThread(string argTHREADID, string argDATA, out string argErrorMsg);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTHREADID` | `string` | value |
| `argDATA` | `string` | value |
| `argErrorMsg` | `string` | out |

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

## Returned by

[IEDMS_DXPServerManager.GetCommentsService](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_DXPServerManager.md#getcommentsservice)
