[]
Returns the number of objects in the collection (read-only).
int Count { get; }
ReadOnly Property Count As Integer
worksheet.PageSetup.PrintArea = "$A$1:$C$10";
workbook.CustomViews.Add("PrintView", true, false);
workbook.CustomViews.Add("HiddenRows", false, true);
int count = workbook.CustomViews.Count;