ParameterInfos.IndexOf(String) 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 the parameter with the specified name in the parameter collection.
public:
int IndexOf(System::String ^ parameterName);
public int IndexOf (string parameterName);
member this.IndexOf : string -> int
Public Function IndexOf (parameterName As String) As Integer
Parameters
- parameterName
- String
The name of the parameter.
Returns
The index of the parameter with the specified name if found in the parameter collection; otherwise, -1.