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

In This Topic
    Insert(String,String,DateTime,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 date As System.Date, _
       ByVal initials As System.String, _
       ByVal location As RangeLocation _
    ) As Comment
    public Comment Insert( 
       System.string text,
       System.string author,
       System.DateTime date,
       System.string initials,
       RangeLocation location
    )

    Parameters

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

    Return Value

    The inserted Comment.
    See Also