[]
Gets the number of gradient stops in the collection.
int Count { get; }
ReadOnly Property Count As Integer
IRange range = worksheet.Range["A1"];
range.Interior.Pattern = Pattern.LinearGradient;
ILinearGradient gradient = (ILinearGradient) range.Interior.Gradient;
IColorStops colorStops = gradient.ColorStops;
int count = colorStops.Count;