IndexOf méthode
Returns the zero-based index of the first occurrence of a value in a collection.
Espace de noms : Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly : Microsoft.SqlServer.WebServiceTask (dans Microsoft.SqlServer.WebServiceTask.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
value As DTSParamValue _
) As Integer
'Utilisation
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
Paramètres
- value
Type : Microsoft.SqlServer.Dts.Tasks.WebServiceTask. . :: . .DTSParamValue
The DTSParamValue to locate in the collection.
Valeur de retour
Type : System. . :: . .Int32
The index of the first occurrence of the specified value within the collection, if found; otherwise, this method returns -1.