Class ExportEventArgs
The ExpotEvent args for the TypeMismatchOnExport event which is raised whenever there is a data type mismatch on exporting to CLR objects.
Inheritance
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ExportEventArgs : EventArgs
Constructors
ExportEventArgs(IRange, String, String, Object, Type, String, Int32)
Initializes a new instance of ExportEventArgs class for mismatch date type.
Declaration
public ExportEventArgs(IRange range, string error, string errorProp, object cellValue, Type propertyType, string cellValueType, int rowRecordIndex)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | The current range. |
System.String | error | The error message. |
System.String | errorProp | The error property. |
System.Object | cellValue | The current range value. |
System.Type | propertyType | The typecode of the property |
System.String | cellValueType | The current cell value type |
System.Int32 | rowRecordIndex | The mismatched CLRObject index |
Properties
CellValueType
Gets the current cell value type.
Declaration
public string CellValueType { get; }
Property Value
Type | Description |
---|---|
System.String | The stringthat specifies current cell value type. |
CurrentValue
Gets the current value of the range.
Declaration
public object CurrentValue { get; }
Property Value
Type | Description |
---|---|
System.Object | The object that specifies current value of the range. |
ErrorMessage
Gets the error message.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the error message. |
Index
Gets the mismatched CLRObject index.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |
NewValue
Gets or sets a valid value for the property.
Declaration
public object NewValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The Object that specifies a valid value for the property. |
Property
Gets the property name that has mismatched data type.
Declaration
public string Property { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the property that has mismatched data type. |
PropertyType
Gets the typecode of the property.
Declaration
public Type PropertyType { get; }
Property Value
Type | Description |
---|---|
System.Type | The TypeCodethat specifies typecode of the property. |
Range
Gets the cell range of mismatched data type.
Declaration
public IRange Range { get; }
Property Value
Type | Description |
---|---|
IRange | Range object of mismatched data type. |