Partager via


Contains méthode (String)

Determines whether an item with the specified key is in the ModelComponentCollection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans 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

Valeur de retour

Type : System. . :: . .Boolean
true if key found in the ModelComponentCollection; otherwise, false.