ModelComponentCollection.Contains 方法 (IModelComponent)
Determines whether the specified item is in the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Protected Function Contains ( _
item As IModelComponent _
) As Boolean
用法
Dim item As IModelComponent
Dim returnValue As Boolean
returnValue = Me.Contains(item)
protected bool Contains(
IModelComponent item
)
protected:
bool Contains(
IModelComponent^ item
)
member Contains :
item:IModelComponent -> bool
protected function Contains(
item : IModelComponent
) : boolean
参数
- item
类型:Microsoft.AnalysisServices.IModelComponent
The item to verify if it’s in the collection.
返回值
类型:System.Boolean
true if the specified item is found in the collection; otherwise, false.