Back to Devexpress

SqlQueryCollection.Item[String] Property

corelibraries-devexpress-dot-dataaccess-dot-sql-dot-sqlquerycollection-dot-item-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

SqlQueryCollection.Item[String] Property

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

Namespace : DevExpress.DataAccess.Sql

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
public SqlQuery this[string name] { get; set; }
vb
Public Property Item(name As String) As SqlQuery

Parameters

NameTypeDescription
nameString

A String value, specifying the query name.

|

Property Value

TypeDescription
SqlQuery

A SqlQuery object.

|

Remarks

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

See Also

SqlQueryCollection Class

SqlQueryCollection Members

DevExpress.DataAccess.Sql Namespace