[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
If the derived class does not use the default comparison for values, this
methods should be overridden to compare two values for equality. This is
used for the correct implementation of ICollection.Contains on the Values
and KeyValuePairs collections.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
protected virtual bool EqualValues(
TValue value1,
TValue value2
) |
Visual Basic (Declaration) |
---|
Protected Overridable Function EqualValues ( _
value1 As TValue, _
value2 As TValue _
) As Boolean |
Visual C++ |
---|
protected:
virtual bool EqualValues (
TValue value1,
TValue value2
) |
Parameters
- value1
- TValue
First value to compare.
- value2
- TValue
Second value to compare.
Return Value
True if the values are equal.
See Also