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

DataSourceInfoCollection.Item[String] Property

Returns the DataSourceInfo element with the specified name.

Namespace: DevExpress.Snap.Core.API

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

Declaration

public DataSourceInfo this[string dataSourceName] { get; }

Parameters

Name Type Description
dataSourceName String

A String value, specifying the name of the report’s parameter within the collection.

Property Value

Type Description
DataSourceInfo

A DataSourceInfo descendant.

Remarks

The Item property searches the collection for the datasource whose name matches the parameter’s value, and returns this DataSourceInfo. If no such object is found, the indexer returns null (Nothing in Visual Basic).

See Also