Share via


SfcReferenceCollection<K, T, S>.ContainsKey Method

Determines whether SfcReferenceCollection<K, T, S> contains an element with the specified key.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function ContainsKey ( _
    key As K _
) As Boolean
'Usage
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

Parameters

Return Value

Type: System.Boolean
true if the SfcReferenceCollection<K, T, S> contains an element with the specified key; otherwise, false.

Implements

IReadOnlyDictionary<K, T>.ContainsKey(K)

See Also

Reference

SfcReferenceCollection<K, T, S> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace