ParameterCollection.IndexOf Method (Parameter)

 

Determines the index of a specified Parameter object in the ParameterCollection collection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Public Function IndexOf (
	parameter As Parameter
) As Integer

Parameters

parameter
Type: System.Web.UI.WebControls.Parameter

The Parameter to locate in the ParameterCollection.

Return Value

Type: System.Int32

The index of parameter, if it is found in the collection; otherwise, -1.

Use this method to determine the index of a parameter in the ParameterCollection collection.

.NET Framework
Available since 2.0
Return to top
Show: