Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CommentCollection Class / Insert Method / Insert(String,String,RangeLocation) Method
The new comment text.
The new comment author.
The target RangeLocation for the insertion.

In This Topic
    Insert(String,String,RangeLocation) Method
    In This Topic
    Inserts a Comment into this collection at the specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal text As System.String, _
       ByVal author As System.String, _
       ByVal location As RangeLocation _
    ) As Comment
    public Comment Insert( 
       System.string text,
       System.string author,
       RangeLocation location
    )

    Parameters

    text
    The new comment text.
    author
    The new comment author.
    location
    The target RangeLocation for the insertion.

    Return Value

    The inserted Comment.
    See Also