Back to Devexpress

ThreadedCommentCollection.Add(CellRange, ThreadedCommentAuthor, String) Method

officefileapi-devexpress-dot-spreadsheet-dot-threadedcommentcollection-dot-add-x28-devexpress-dot-spreadsheet-dot-cellrange-devexpress-dot-spreadsheet-dot-threadedcommentauthor-system-dot-string-x29.md

latest2.0 KB
Original Source

ThreadedCommentCollection.Add(CellRange, ThreadedCommentAuthor, String) Method

Creates a new threaded comment.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
ThreadedComment Add(
    CellRange range,
    ThreadedCommentAuthor author,
    string text
)
vb
Function Add(
    range As CellRange,
    author As ThreadedCommentAuthor,
    text As String
) As ThreadedComment

Parameters

NameTypeDescription
rangeCellRange

A cell range to which a comment should be added. If you pass a cell range as the parameter, the comment is added to the top-left cell of this range.

| | author | ThreadedCommentAuthor |

An object that contains information about the comment’s author.

| | text | String |

The text of the comment.

|

Returns

TypeDescription
ThreadedComment

A threaded comment.

|

See Also

ThreadedCommentCollection Interface

ThreadedCommentCollection Members

DevExpress.Spreadsheet Namespace