Adds a DataSource to the current collection.

Namespace:  C1.C1Preview.DataBinding
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Add(
	DataSource dataSource
)
Visual Basic
Public Function Add ( _
	dataSource As DataSource _
) As Integer

Parameters

dataSource
Type: C1.C1Preview.DataBinding..::..DataSource
The DataSource object to add.

Return Value

The index of the added object in the current collection.

See Also