Class InvalidDataTypeException
This exception is used for cases where more that one data type is set in the exported DataTable.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class InvalidDataTypeException : Exception, ISerializable, _Exception
Constructors
InvalidDataTypeException(String, String, String, Int32, Int32)
Initializes a new instance on the Invalid
Declaration
public InvalidDataTypeException(string message, string expectedDataType, string currentDataType, int columnIndex, int rowIndex)
Parameters
System. The message that describes the error. |
System. The expected DataType. |
System. The data type of the current cell. |
System. The index of the column where the invalid data is. |
System. The index of the row where the invalid data is. |
Properties
ColumnIndex
Gets the index of the column where the invalid data is.
Declaration
public int ColumnIndex { get; }
Property Value
System.
|
CurrentDataType
Gets the data type that the cell currently contains.
Declaration
public string CurrentDataType { get; }
Property Value
System.
|
ExpectedDataType
Gets the data type that is expected for the exported column.
Declaration
public string ExpectedDataType { get; }
Property Value
System.
|
RowIndex
Gets the index of the row where the invalid data is.
Declaration
public int RowIndex { get; }
Property Value
System.
|