[]
Sets whether the specified column on this sheet allows automatic sorting.
public void SetColumnAllowAutoSort(int column, bool allowAutoSort)
Public Sub SetColumnAllowAutoSort(column As Integer, allowAutoSort As Boolean)
Type | Name | Description |
---|---|---|
int | column | Column index |
bool | allowAutoSort | Whether to allow automatic sorting for the specified column |
Sets whether the specified columns on this sheet allow automatic sorting.
public void SetColumnAllowAutoSort(int column, int count, bool allowAutoSort)
Public Sub SetColumnAllowAutoSort(column As Integer, count As Integer, allowAutoSort As Boolean)
Type | Name | Description |
---|---|---|
int | column | Column index of first column to set |
int | count | Number of columns to set |
bool | allowAutoSort | Whether to allow automatic sorting for the specified columns |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified column index is out of range; must be between -1 and the total number of columns |