Skip to main content
A newer version of this page is available.

DataSourceInfoCollection.Remove(String) Method

Removes the specified data source from the collection.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v19.1.Core.dll

Declaration

public void Remove(
    string name
)

Parameters

Name Type Description
name String

A String value, specifying the datasource name.

Remarks

A specific data source can be accessed via the DataSourceInfoCollection.Item property.

To add a new data source, use the DataSourceInfoCollection.Add method.

The default data source cannot be deleted.

See Also