[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The BinaryPredicate delegate type encapsulates a method that takes two
items of the same type, and returns a boolean value representating
some relationship between them. For example, checking whether two
items are equal or equivalent is one kind of binary predicate.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public delegate bool BinaryPredicate<T>(
T item1,
T item2
) |
Visual Basic (Declaration) |
---|
Public Delegate Function BinaryPredicate(Of T) ( _
item1 As T, _
item2 As T _
) As Boolean |
Visual C++ |
---|
generic<typename T>
public delegate bool BinaryPredicate (
T item1,
T item2
) |
Parameters
- item1
- T
The first item.
- item2
- T
The second item.
Return Value
Whether item1 and item2 satisfy the relationship that the BinaryPredicate defines.
Type Parameters
See Also