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

参数

返回值

类型:System.Boolean
true if the specified item is found in the collection; otherwise, false.

请参阅

参考

ModelComponentCollection 类

Contains 重载

Microsoft.AnalysisServices 命名空间