Skip to main content

SqlQueryCollection.Item[String] Property

Provides access to an individual item in the collection by its name.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public SqlQuery this[string name] { get; set; }

Parameters

Name Type Description
name String

A String value, specifying the query name.

Property Value

Type Description
SqlQuery

A SqlQuery object.

Remarks

Note that if the query with the specified name is not found, a ArgumentOutOfRangeException will be thrown.

See Also