PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview.DataBinding Namespace / DataSourceCollection Class / Add Method
The DataSource object to add.

In This Topic
    Add Method (DataSourceCollection)
    In This Topic
    Adds a DataSource to the current collection.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal dataSource As DataSource _
    ) As Integer
    public int Add( 
       DataSource dataSource
    )

    Parameters

    dataSource
    The DataSource object to add.

    Return Value

    The index of the added object in the current collection.
    See Also