DTSParamValueCollection.Contains(DTSParamValue) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示是否可以通过使用索引访问集合中的项而不引发异常。
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。