System::Collections::Generic::operator== メソッド
System::Collections::Generic::operator== method
‘’equals’’ セマンティクスを使用して 2 つのキーと値のペアを比較します。キーと値の両方に対して 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 です。
参照
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.Page for C++