[]
Gets a comment from this collection by its ID.
public Comment GetByID(long id)
Public Function GetByID(id As Long) As Comment
| Type | Name | Description |
|---|---|---|
| long | id | The comment ID. |
| Type | Description |
|---|---|
| Comment | The Comment with the specified ID. |
| Type | Condition |
|---|---|
| KeyNotFoundException | Throws if the comment with the specified ID was not found in the collection. |