ModelComponentCollection.IList.Contains 方法
Indicates whether the collection contains a specific value.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Private Function Contains ( _
value As Object _
) As Boolean Implements IList.Contains
用法
Dim instance As ModelComponentCollection
Dim value As Object
Dim returnValue As Boolean
returnValue = CType(instance, IList).Contains(value)
bool IList.Contains(
Object value
)
private:
virtual bool Contains(
Object^ value
) sealed = IList::Contains
private abstract Contains :
value:Object -> bool
private override Contains :
value:Object -> bool
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- value
类型:System.Object
The object to locate.
返回值
类型:System.Boolean
true if the object is found in the collection; otherwise, false.