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

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

    Parameters

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

    Return Value

    The inserted Comment.
    See Also