[]
        
(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)
Public Function Insert(location As RangeLocation) As Comment
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)
Public Function Insert(text As String, author As String, location As RangeLocation) As Comment
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)
Public Function Insert(text As String, author As String, [date] As Date, location As RangeLocation) As Comment
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)
Public Function Insert(text As String, author As String, [date] As Date, initials As String, location As RangeLocation) As Comment
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.