语言

DTSParamValueCollection.Contains(DTSParamValue) 方法

定义

表示是否可以通过索引访问集合中的项目而不抛出异常。

public:
 bool Contains(Microsoft::SqlServer::Dts::Tasks::WebServiceTask::DTSParamValue ^ paramValue);
public bool Contains(Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSParamValue paramValue);
member this.Contains : Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSParamValue -> bool
Public Function Contains (paramValue As DTSParamValue) As Boolean

参数

paramValue
DTSParamValue

集合中要定位对象的 DTSParamValue 名称、身份、ID或索引。

返回

如果可以通过语法DTSParamValueCollection [index]访问该集合,则为真;如果索引无法用于从集合中检索物品,则为假。

适用于