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]访问集合,则为 true;如果索引不能用于从集合中检索项,则为 false。

适用于