Version

IsCellTypeSupported Method

Returns True if a particular type of value can be exported to excel.
Syntax
'Declaration
 
Public Shared Function IsCellTypeSupported( _
   ByVal cellType As Type _
) As Boolean
public static bool IsCellTypeSupported( 
   Type cellType
)

Parameters

cellType
The type to test.

Return Value

True if the type is supported as a cell value, False otherwise.
Exceptions
ExceptionDescription
System.ArgumentNullExceptioncellType is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also