DataSourceExpressionCollection::IndexOf Method (DataSourceExpression^)
.NET Framework (current version)
Gets the index of a specified data source expression object in the DataSourceExpressionCollection object.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Parameters
- expression
-
Type:
System.Web.UI.WebControls.Expressions::DataSourceExpression^
The data source expression object to locate.
Return Value
Type: System::Int32The index of the data source expression object, if it is in the collection; otherwise, -1.
.NET Framework
Available since 4.0
Available since 4.0
Show: