[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CommentCollection.GetByID

GetByID Method

GetByID(long)

Gets a comment from this collection by its ID.

Declaration
public Comment GetByID(long id)
Public Function GetByID(id As Long) As Comment
Parameters
Type Name Description
long id

The comment ID.

Returns
Type Description
Comment

The Comment with the specified ID.

Exceptions
Type Condition
KeyNotFoundException

Throws if the comment with the specified ID was not found in the collection.