[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CommentCollection.Insert

Insert Method

Insert(RangeLocation)

Inserts a Comment into this collection at the specified location.

Declaration
public Comment Insert(RangeLocation location)
Parameters
Type Name Description
RangeLocation location

The target RangeLocation for the insertion.

Returns
Type Description
Comment

The inserted Comment.

Insert(string, string, RangeLocation)

Inserts a Comment into this collection at the specified location.

Declaration
public Comment Insert(string text, string author, RangeLocation location)
Parameters
Type Name Description
string text

The new comment text.

string author

The new comment author.

RangeLocation location

The target RangeLocation for the insertion.

Returns
Type Description
Comment

The inserted Comment.

Insert(string, string, DateTime, RangeLocation)

Inserts a Comment into this collection at the specified location.

Declaration
public Comment Insert(string text, string author, DateTime date, RangeLocation location)
Parameters
Type Name Description
string text

The new comment text.

string author

The new comment author.

DateTime date

The new comment date.

RangeLocation location

The target RangeLocation for the insertion.

Returns
Type Description
Comment

The inserted Comment.

Insert(string, string, DateTime, string, RangeLocation)

Inserts a Comment into this collection at the specified location.

Declaration
public Comment Insert(string text, string author, DateTime date, string initials, RangeLocation location)
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.

RangeLocation location

The target RangeLocation for the insertion.

Returns
Type Description
Comment

The inserted Comment.