Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetDataModel Class / DefaultSheetDataModel Constructor / DefaultSheetDataModel Constructor(IList,Type)
Data source to be used
Element type in the data source


In This Topic
    DefaultSheetDataModel Constructor(IList,Type)
    In This Topic
    Creates a default data model with the specified data set (IList object).
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dataSource As IList, _
       ByVal itemType As Type _
    )
    'Usage
     
    
    Dim dataSource As IList
    Dim itemType As Type
     
    Dim instance As New DefaultSheetDataModel(dataSource, itemType)
    public DefaultSheetDataModel( 
       IList dataSource,
       Type itemType
    )

    Parameters

    dataSource
    Data source to be used
    itemType
    Element type in the data source
    See Also