Share via


DTSParamValueCollection.IndexOf Method

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
public int IndexOf (
    DTSParamValue value
)
public:
int IndexOf (
    DTSParamValue^ value
)
public int IndexOf (
    DTSParamValue value
)
public function IndexOf (
    value : DTSParamValue
) : int

Parameters

Return Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DTSParamValueCollection Class
DTSParamValueCollection Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace