System::Collections::Generic::IDictionary::TryGetValue 메서드

IDictionary::TryGetValue method

값을 찾아서 발견되면 반환합니다.

virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
매개변수형식설명
keyconst TKey&찾을 키.
valueTValue&검색된 값을 저장할 참조.

ReturnValue

값을 찾고 가져왔으면 true, 그렇지 않으면 false.

또 보기