Méthode ModelComponentCollection.Contains (String)
Determines whether an item with the specified key is in the ModelComponentCollection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Protected Function Contains ( _
key As String _
) As Boolean
'Utilisation
Dim key As String
Dim returnValue As Boolean
returnValue = Me.Contains(key)
protected bool Contains(
string key
)
protected:
bool Contains(
String^ key
)
member Contains :
key:string -> bool
protected function Contains(
key : String
) : boolean
Paramètres
- key
Type : System.String
The key of the IModelComponent to locate in the ModelComponentCollection.
Valeur de retour
Type : System.Boolean
true if key found in the ModelComponentCollection; otherwise, false.