EqualityComparison<T> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate that compares two values for equality.
generic <typename T>
public delegate bool EqualityComparison(T left, T right);
public delegate bool EqualityComparison<T>(T left, T right);
type EqualityComparison<'T> = delegate of 'T * 'T -> bool
Public Delegate Function EqualityComparison(Of T)(left As T, right As T) As Boolean
Type Parameters
- T
The parameter types.
Parameters
- left
- T
A value of type T
.
- right
- T
A value of type T
.
Return Value
Returns true
if the values are equal and false
otherwise.