PropertySet.HasKey(String) 메서드

정의

속성 집합에 지정된 키가 있는 항목이 있는지 여부를 나타냅니다.

public:
 virtual bool HasKey(Platform::String ^ key) = IMap<Platform::String ^, Platform::Object ^>::HasKey;
bool HasKey(winrt::hstring const& key);
public bool HasKey(string key);
function hasKey(key)
Public Function HasKey (key As String) As Boolean

매개 변수

key
String

Platform::String

winrt::hstring

키입니다.

반환

Boolean

bool

True이면 속성 집합에 지정된 키가 있는 항목이 있습니다. 그렇지 않으면 false입니다.

구현

적용 대상