ModelComponentCollection.Contains Method (IModelComponent)

Determines whether the specified item is in the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Protected Function Contains ( _
    item As IModelComponent _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

ModelComponentCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace