[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CommentCollection.Add

Add Method

Add(string, string)

Adds a Comment to this collection at the Content position.

Declaration
public Comment Add(string text = null, string author = null)
Parameters
Type Name Description
string text

The new comment text.

string author

The new comment author.

Returns
Type Description
Comment

The added Comment.

Add(string, string, DateTime)

Adds a Comment to this collection.

Declaration
public Comment Add(string text, string author, DateTime date)
Parameters
Type Name Description
string text

The new comment text.

string author

The new comment author.

DateTime date

The new comment date.

Returns
Type Description
Comment

The added Comment.

Add(string, string, DateTime, string)

Adds a Comment to this collection.

Declaration
public Comment Add(string text, string author, DateTime date, string initials)
Parameters
Type Name Description
string text

The new comment text.

string author

The new comment author.

DateTime date

The new comment date.

string initials

The new comment author initials.

Returns
Type Description
Comment

The added Comment.