DataSourceInfoCollection.Remove(String) Method

Removes the specified data source from the collection.

Namespace: DevExpress.Snap.Core.API

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

Declaration

public void Remove(
    string name
)
Public Sub Remove(
    name As String
)

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