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
- item
Type: Microsoft.AnalysisServices.IModelComponent
The item to verify if it’s in the collection.
Return Value
Type: System.Boolean
true if the specified item is found in the collection; otherwise, false.