共用方式為


SfcReferenceCollection<K, T, S>.ContainsKey 方法

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

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function ContainsKey ( _
    key As K _
) As Boolean
'用途
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

參數

傳回值

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

實作

IReadOnlyDictionary<K, T>.ContainsKey(K)

請參閱

參考

SfcReferenceCollection<K, T, S> 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間