Partager via


Méthode ModelComponentCollection.IList.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 ( _
    value As Object _
) As Boolean Implements IList.Contains
'Utilisation
Dim instance As ModelComponentCollection 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = CType(instance, IList).Contains(value)
bool IList.Contains(
    Object value
)
private:
virtual bool Contains(
    Object^ value
) sealed = IList::Contains
private abstract Contains : 
        value:Object -> bool  
private override Contains : 
        value:Object -> 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

Valeur de retour

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

Implémente

IList.Contains(Object)

Voir aussi

Référence

ModelComponentCollection Classe

Espace de noms Microsoft.AnalysisServices