Share via


DTSParamValueCollection.IndexOf(DTSParamValue) Method

Definition

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

public:
 int IndexOf(Microsoft::SqlServer::Dts::Tasks::WebServiceTask::DTSParamValue ^ value);
public int IndexOf (Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSParamValue value);
member this.IndexOf : Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSParamValue -> int
Public Function IndexOf (value As DTSParamValue) As Integer

Parameters

value
DTSParamValue

The DTSParamValue to locate in the collection.

Returns

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

Applies to