System::Collections::Generic::operator== 메서드

System::Collections::Generic::operator== method

’equals’ 의미를 사용하여 두 키-값 쌍을 비교합니다. 정의된 경우, 키와 값 모두에 대해 operator == 또는 EqualsTo 메서드를 사용합니다.

template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
매개변수설명
TKey키 유형.
TValue값 형식.
매개변수형식설명
왼쪽const KeyValuePair<TKey, TValue>&좌변 피연산자.
오른쪽const KeyValuePair<TKey, TValue>&우변 피연산자.

ReturnValue

키와 값이 모두 일치하면 true, 그렇지 않으면 false.

또 보기