[]
Gets the number of border objects in the collection.
For a normal range border collection, this value is 6, representing the four edge borders and the two inside borders.
int Count { get; }
ReadOnly Property Count As Integer
IBorders borders = worksheet.Range["B2:E6"].Borders;
int count = borders.Count;