[]
Returns the column count of the first range.
int ColumnCount { get; }
ReadOnly Property ColumnCount As Integer
| Type | Description |
|---|---|
| int | The column. |
IRange range = worksheet.Range["B2:C3"];
int columnCount = range.ColumnCount;