共用方式為


IModelComponentCollection.Contains 方法

命名空間:  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 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System. . :: . .Boolean

實作

IModelComponentCollection. . :: . .Contains(IModelComponent)