ExcelFile.SupportsType Method
Gets a value indicating whether the objects of specified type can be assigned to ExcelCell.Value property.
public static
bool SupportsType(
Type type);
Parameters
-
type
- Queried type.
Return Value
true if the specified type is supported; otherwise, false.
Remarks
Currently supported types are:
- System.DBNull
- System.Byte
- System.SByte
- System.Int16
- System.UInt16
- System.Int64
- System.UInt64
- System.UInt32
- System.Int32
- System.Single
- System.Double
- System.Boolean
- System.Char
- System.Text.StringBuilder
- System.Decimal
- System.DateTime
- System.String
See Also
ExcelFile Class | GemBox.Spreadsheet Namespace