Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview.Export Namespace / ReportExcelExportProvider Class / CanExportObject Method
The object (document) to test.

In This Topic
    CanExportObject Method (ReportExcelExportProvider)
    In This Topic
    Tests whether the specified object represents a document that can be exported by the current export provider. This implementation returns true if the passed object is a C1.C1Report.C1Report, false otherwise.
    Syntax
    'Declaration
     
    Public Overridable Function CanExportObject( _
       ByVal obj As Object _
    ) As Boolean
    public virtual bool CanExportObject( 
       object obj
    )

    Parameters

    obj
    The object (document) to test.

    Return Value

    true if the object represents a document that can be exported, false otherwise.
    See Also