[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IComments.Count

Count Property

Count

Returns the number of comment objects in the collection.

This value indicates how many IComment objects are contained in this IComments collection, such as the collection returned by Comments.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
worksheet.Range["A1"].AddComment("Name is required.");
worksheet.Range["B2"].AddComment("Enter a value.");
IComments comments = worksheet.Comments;
int count = comments.Count;