Compartir a través de


DTSParamValueCollection.IndexOf Método

Returns the zero-based index of the first occurrence of a value in a collection.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Ensamblado:  Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    value As DTSParamValue _
) As Integer
'Uso
Dim instance As DTSParamValueCollection 
Dim value As DTSParamValue 
Dim returnValue As Integer 

returnValue = instance.IndexOf(value)
public int IndexOf(
    DTSParamValue value
)
public:
int IndexOf(
    DTSParamValue^ value
)
member IndexOf : 
        value:DTSParamValue -> int
public function IndexOf(
    value : DTSParamValue
) : int

Parámetros

Valor devuelto

Tipo: System.Int32
The index of the first occurrence of the specified value within the collection, if found; otherwise, this method returns -1.

Vea también

Referencia

DTSParamValueCollection Clase

Espacio de nombres Microsoft.SqlServer.Dts.Tasks.WebServiceTask