[]
        
(Showing Draft Content)

C1.Excel.XLCommentCollection.Insert

Insert Method

Insert(int, XLComment)

Inserts an XLComment object at a specific position in the collection.

Declaration
public XLComment Insert(int index, XLComment comment)
Parameters
Type Name Description
int index

Position where the object will be inserted.

XLComment comment

Object to insert in the collection.

Returns
Type Description
XLComment

A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection).