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
參數
- key
型別:K
The key to locate in the SfcReferenceCollection<K, T, S>.
傳回值
型別:System.Boolean
true if the SfcReferenceCollection<K, T, S> contains an element with the specified key; otherwise, false.
實作
IReadOnlyDictionary<K, T>.ContainsKey(K)