DataSourceExpressionCollection.IndexOf(DataSourceExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the index of a specified data source expression object in the DataSourceExpressionCollection object.
public:
int IndexOf(System::Web::UI::WebControls::Expressions::DataSourceExpression ^ expression);
public int IndexOf (System.Web.UI.WebControls.Expressions.DataSourceExpression expression);
member this.IndexOf : System.Web.UI.WebControls.Expressions.DataSourceExpression -> int
Public Function IndexOf (expression As DataSourceExpression) As Integer
Parameters
- expression
- DataSourceExpression
The data source expression object to locate.
Returns
The index of the data source expression object, if it is in the collection; otherwise, -1.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.