Méthode SfcReferenceCollection<K, T, S>.ContainsKey
Determines whether SfcReferenceCollection<K, T, S> contains an element with the specified key.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function ContainsKey ( _
key As K _
) As Boolean
'Utilisation
Dim instance As SfcReferenceCollection
Dim key As K
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
public bool ContainsKey(
K key
)
public:
virtual bool ContainsKey(
K key
) sealed
abstract ContainsKey :
key:'K -> bool
override ContainsKey :
key:'K -> bool
public final function ContainsKey(
key : K
) : boolean
Paramètres
- key
Type : K
The key to locate in the SfcReferenceCollection<K, T, S>.
Valeur de retour
Type : System.Boolean
true if the SfcReferenceCollection<K, T, S> contains an element with the specified key; otherwise, false.
Implémente
IReadOnlyDictionary<K, T>.ContainsKey(K)