Compartir a través de


del método IReadOnlyPropertyCollection.ContainsKey

Determina si la IReadOnlyPropertyCollection contiene un elemento con la clave especificada.

Espacio de nombres:  Microsoft.Office.Server.Search.Query
Ensamblado:  Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)

Sintaxis

'Declaración
Function ContainsKey ( _
    key As String _
) As Boolean
'Uso
Dim instance As IReadOnlyPropertyCollection
Dim key As String
Dim returnValue As Boolean

returnValue = instance.ContainsKey(key)
bool ContainsKey(
    string key
)

Parámetros

Valor devuelto

Tipo: System.Boolean
true si se puede tener acceso a una propiedad con esa clave mediante el uso de la bolsa; de lo contrario; false.

Vea también

Referencia

interfaz IReadOnlyPropertyCollection

Miembros IReadOnlyPropertyCollection

Espacio de nombres Microsoft.Office.Server.Search.Query