ModelComponentCollection.IModelComponentCollection.Contains Method
Indicates whether the collection contains a specific value.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Private Function Contains ( _
item As IModelComponent _
) As Boolean Implements IModelComponentCollection.Contains
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- item
Type: Microsoft.AnalysisServices.IModelComponent
The item to locate.
Return Value
Type: System.Boolean
true if the item is found in the collection; otherwise, false.
Implements
IModelComponentCollection.Contains(IModelComponent)