Freigeben über


DTSParamValueCollection.IndexOf-Methode

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    value As DTSParamValue _
) As Integer
'Usage
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

Parameter

Rückgabewert

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

Siehe auch

Verweis

DTSParamValueCollection Klasse

Microsoft.SqlServer.Dts.Tasks.WebServiceTask-Namespace