Share via


DTSParamValueCollection.Contains Method

Indicates whether the items in a collection can be accessed by using indexing without throwing an exception.

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

Syntax

'Declaration
Public Function Contains ( _
    paramValue As DTSParamValue _
) As Boolean
'Usage
Dim instance As DTSParamValueCollection 
Dim paramValue As DTSParamValue 
Dim returnValue As Boolean 

returnValue = instance.Contains(paramValue)
public bool Contains(
    DTSParamValue paramValue
)
public:
bool Contains(
    DTSParamValue^ paramValue
)
member Contains : 
        paramValue:DTSParamValue -> bool
public function Contains(
    paramValue : DTSParamValue
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the collection can be accessed by using the syntax DTSParamValueCollection [index]; false if indexing cannot be used to retrieve items from the collection.

See Also

Reference

DTSParamValueCollection Class

Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace