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

In This Topic
    Add(String,String,DateTime,String) Method
    In This Topic
    Adds a Comment to this collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal text As System.String, _
       ByVal author As System.String, _
       ByVal date As System.Date, _
       ByVal initials As System.String _
    ) As Comment
    public Comment Add( 
       System.string text,
       System.string author,
       System.DateTime date,
       System.string initials
    )

    Parameters

    text
    The new comment text.
    author
    The new comment author.
    date
    The new comment date.
    initials
    The new comment author initials.

    Return Value

    The added Comment.
    See Also