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