Spread for ASP.NET 12 Product Documentation
CanExportTo Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > IExcelExporter Interface : CanExportTo Method
A System.Type that represents the type you want to export to.
Returns whether this exporter can export the object to the specified type.
Syntax
'Declaration
 
Function CanExportTo( _
   ByVal destinationType As Type _
) As Boolean
'Usage
 
Dim instance As IExcelExporter
Dim destinationType As Type
Dim value As Boolean
 
value = instance.CanExportTo(destinationType)
bool CanExportTo( 
   Type destinationType
)

Parameters

destinationType
A System.Type that represents the type you want to export to.

Return Value

true if this exporter can perform the export; otherwise, false.
See Also

Reference

IExcelExporter Interface
IExcelExporter Members