Click or drag to resize
ExcelFileSupportsType Method
Gets a value indicating whether the objects of specified type can be assigned to ExcelCell.Value property.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1032
Syntax
public static bool SupportsType(
	Type type
)

Parameters

type
Type: SystemType
Queried type.

Return Value

Type: Boolean
if the specified type is supported; otherwise, .
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