Méthode ModelComponentCollection.IModelComponentCollection.Contains
Indicates whether the collection contains a specific value.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Private Function Contains ( _
item As IModelComponent _
) As Boolean Implements IModelComponentCollection.Contains
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- item
Type : Microsoft.AnalysisServices.IModelComponent
The item to locate.
Valeur de retour
Type : System.Boolean
true if the item is found in the collection; otherwise, false.
Implémente
IModelComponentCollection.Contains(IModelComponent)