IPreferences.ContainsKey(String, String) 메서드

정의

지정된 키의 존재를 확인합니다.

public bool ContainsKey (string key, string? sharedName = default);
abstract member ContainsKey : string * string -> bool
Public Function ContainsKey (key As String, Optional sharedName As String = Nothing) As Boolean

매개 변수

key
String

확인할 키입니다.

sharedName
String

공유 컨테이너 이름입니다.

반환

true 기본 설정에 키가 있으면 이고, 그렇지 않으면 false입니다.

적용 대상