System::Collections::Generic::BaseDictionary::TryGetValue method

BaseDictionary::TryGetValue method

키가 있는 값을 찾아서 발견되면 반환합니다.

bool System::Collections::Generic::BaseDictionary<Map>::TryGetValue(const key_t &key, mapped_t &value) const override
매개변수형식설명
keyconst key_t&찾을 키.
valuemapped_t&찾은 값을 저장할 위치에 대한 참조입니다.

ReturnValue

값을 찾고 반환했으면 true, 그렇지 않으면 false.

또 보기