Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CommentCollection Class / GetByID Method
The comment ID.

In This Topic
    GetByID Method (CommentCollection)
    In This Topic
    Gets a comment from this collection by its ID.
    Syntax
    'Declaration
     
    Public Function GetByID( _
       ByVal id As System.Long _
    ) As Comment
    public Comment GetByID( 
       System.long id
    )

    Parameters

    id
    The comment ID.

    Return Value

    The Comment with the specified ID.
    Exceptions
    ExceptionDescription
    Throws if the comment with the specified ID was not found in the collection.
    See Also