Back to Devexpress

CommentCollection.RemoveAt(Int32) Method

officefileapi-devexpress-dot-spreadsheet-dot-commentcollection-dot-removeat-x28-system-dot-int32-x29.md

latest2.1 KB
Original Source

CommentCollection.RemoveAt(Int32) Method

Removes the note at the specified index from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void RemoveAt(
    int index
)
vb
Sub RemoveAt(
    index As Integer
)

Parameters

NameTypeDescription
indexInt32

A zero-based integer specifying the index of the note to be removed. It should be non-negative and less than the number of elements in the collection.

|

Remarks

To remove the specified Comment object, use the Remove method. To remove all notes from the worksheet, use the Clear method. To delete notes from the specified cells, use the Worksheet.ClearComments method.

To add a note to a cell, use the CommentCollection.Add method.

See Also

Threaded Comments in Spreadsheet Documents

How to: Add a Simple Note To a Spreadsheet Cell

CommentCollection Interface

CommentCollection Members

DevExpress.Spreadsheet Namespace