Get the index of a parameter given by name.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 0.10.2.0

Syntax

Visual Basic
Public Shared Function GetParameterIndex ( _
	szName As String _
) As Integer

Parameters

szName
Type: System..::..String
Name of the parameter.

Return Value

Index of the parameter. -1 if the parameter could not be found

Remarks

GetParameterIndex searches for a parameter with the name szName. If there is no parameter with this name, the search will be continued in the preview parameters array. If a corresponding preview parameter can be found, it will be copied to the parameters array and its index will be returned. If there is no real parameter nor preview parameter with such a name, -1 will be returned

See Also