Partilhar via


Método Contains (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Protected Function Contains ( _
    key As String _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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