# CommentGetReplied Method

> Returns the Long identifier of the comment that the comment with the given CommentId replies to, or 0 when it is not a reply or does not exist.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CommentGetReplied Method
- **178 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentgetreplied-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentgetreplied-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentgetreplied-method/llms-full.txt

---

Gets the comment for which the specified comment is a reply. When the specified comment is not a reply, 0 is returned.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.CommentGetReplied CommentId
```

### Parameters

| Parameter | Description |
|---|---|
| CommentId | Specifies a comment identifier. |

### Return Value

The return value is the identifier of the comment for which the specified comment is a reply. The return value is 0, if the specified comment does not exist or if the specified comment is not a reply.

### Data Types

| Name | Data type |
|---|---|
| CommentId | Long |
| Return value | Long |

### See Also

- [Programming Category: Commenting a document](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/comments/llms-full.txt)

---

## Nearby

- **Previous:** [CommentEnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentend-property/llms-full.txt)
- **Next:** [CommentHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/llms-full.txt)
