Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CommentCollection Class / Add Method / Add(String,String) Method
The new comment text.
The new comment author.

In This Topic
    Add(String,String) Method
    In This Topic
    Adds a Comment to this collection at the RangeLocation.Content position.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       Optional ByVal text As System.String, _
       Optional ByVal author As System.String _
    ) As Comment
    public Comment Add( 
       System.string text,
       System.string author
    )

    Parameters

    text
    The new comment text.
    author
    The new comment author.

    Return Value

    The added Comment.
    See Also