Version

FlatDataSource Constructor(FlatDataSourceAdapterBase,String,String,FlatDataSourceInitialSettings)

Creates a new FlatDataSource instance, using the specified adapter to populate the ItemSource collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal adapter As FlatDataSourceAdapterBase, _
   Optional ByVal displayName As String, _
   Optional ByVal defaultDimensionName As String, _
   Optional ByVal settings As FlatDataSourceInitialSettings _
)

Parameters

adapter
The adapter used to populate the ItemSource.
displayName
The initial value for the DisplayName property.
defaultDimensionName
The initial value for the DefaultDimensionName property.
settings
A FlatDataSourceInitialSettings instance containing the initial settings for the data source.
Remarks

Creating an instance with this overload is the logical equivalent of creating an empty instance and populating it via the adapter's Fill method.

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