DataSourceInfoCollection.GetDataSourceByName(String) Method
Provides access to the report’s datasource by its name.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value, specifying the datasource’s name. |
Returns
Type | Description |
---|---|
Object | A Object value, specifying the datasource. |
Remarks
This method returns the datasource object if the specified datasource name has been found. Otherwise, the GetDataSourceByName method returns null (Nothing in Visual Basic).
See Also