Contains 方法

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

命名空间:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集:  Microsoft.SqlServer.WebServiceTask(在 Microsoft.SqlServer.WebServiceTask.dll 中)

语法

声明
Public Function Contains ( _
    paramValue As DTSParamValue _
) As Boolean
用法
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

参数

返回值

类型: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.