GetByID Method (CommentCollection)
In This Topic
Gets a comment from this collection by its ID.
Syntax
'Declaration
Public Function GetByID( _
ByVal As System.Long _
) As Comment
public Comment GetByID(
System.long
)
Parameters
- id
- The comment ID.
Return Value
The
Comment with the specified ID.
Exceptions
Exception | Description |
System.Collections.Generic.KeyNotFoundException | Throws if the comment with the specified ID was not found in the collection. |
See Also