[]
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.
int Count { get; }
ReadOnly Property Count As Integer
worksheet.Range["A1"].AddComment("Name is required.");
worksheet.Range["B2"].AddComment("Enter a value.");
IComments comments = worksheet.Comments;
int count = comments.Count;