Version

FlatDataSource Constructor(IEnumerable,Type,FlatDataSourceInitialSettings)

Creates a new instance of the class, initialized with the specified settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal itemSource As IEnumerable, _
   ByVal itemType As Type, _
   ByVal settings As FlatDataSourceInitialSettings _
)
public FlatDataSource( 
   IEnumerable itemSource,
   Type itemType,
   FlatDataSourceInitialSettings settings
)

Parameters

itemSource
An IEnumerable implementation which provides the data items for this instance. Must not contain null references or disparate objects.
itemType
The data type of the items in the itemSource. If null, type is obtained from the first item in the itemSource.
settings
A FlatDataSourceInitialSettings instance containing the initial settings for the data source.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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