Compartir a través de


ParameterInfos.IndexOf Método

Gets the index of the parameter with the specified name in the parameter collection.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    parameterName As String _
) As Integer
'Uso
Dim instance As ParameterInfos 
Dim parameterName As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(parameterName)
public int IndexOf(
    string parameterName
)
public:
int IndexOf(
    String^ parameterName
)
member IndexOf : 
        parameterName:string -> int
public function IndexOf(
    parameterName : String
) : int

Parámetros

Valor devuelto

Tipo: System.Int32
The index of the parameter with the specified name if found in the parameter collection; otherwise, -1.

Vea también

Referencia

ParameterInfos Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime