[]
Sets the column index in the data model that corresponds to the specified column index in the sheet.
public virtual int SetModelColumnForViewColumn(int viewColumn, int modelColumn)
Public Overridable Function SetModelColumnForViewColumn(viewColumn As Integer, modelColumn As Integer) As Integer
Type | Name | Description |
---|---|---|
int | viewColumn | Column index in the sheet |
int | modelColumn | Column index in the data model |
Type | Description |
---|---|
int |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified column in the sheet is out of range; must be between -1 and the total number of columns in the sheet |
ArgumentOutOfRangeException | Specified column in the model is out of range; must be between -1 and the total number of columns in the model |