Compartir a través de


Contains Método (String)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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 devuelto

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