다음을 통해 공유


IReadOnlyDictionary<K, T>.ContainsKey 메서드

Determines whether the element with the specified key is contained in the dictionary.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Function ContainsKey ( _
    key As K _
) As Boolean
‘사용 방법
Dim instance As IReadOnlyDictionary 
Dim key As K
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(key)
bool ContainsKey(
    K key
)
bool ContainsKey(
    K key
)
abstract ContainsKey : 
        key:'K -> bool
function ContainsKey(
    key : K
) : boolean

매개 변수

  • key
    유형: K
    They key to locate in the dictionary.

반환 값

유형: System.Boolean
true if the key is found in the dictionary; otherwise false.

참고 항목

참조

IReadOnlyDictionary<K, T> 인터페이스

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스