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.