IPropertyCollection.ContainsKey - Méthode

Détermine si les IPropertyCollection contient un élément avec la clé spécifiée.

Espace de noms :  Microsoft.Office.Server.Search.Query
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Function ContainsKey ( _
    key As String _
) As Boolean
'Utilisation
Dim instance As IPropertyCollection
Dim key As String
Dim returnValue As Boolean

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

Paramètres

Valeur renvoyée

Type : System.Boolean
true si une propriété avec cette clé est accessible à l'aide du conteneur ; dans le cas contraire ; false.

Voir aussi

Référence

IPropertyCollection interface

IPropertyCollection - Membres

Microsoft.Office.Server.Search.Query - Espace de noms