Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • 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