Skip to main content
All docs
V21.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataSourceInfoCollection.Item[String] Property

Returns the DataSourceInfo element with the specified name.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

#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