'Declaration Public Function AssignComparer( _ ByVal comparer As IComparer(Of ItemPair) _ ) As Boolean
'Usage Dim instance As FileSystemEventsSession Dim comparer As IComparer(Of ItemPair) Dim value As Boolean value = instance.AssignComparer(comparer)
public bool AssignComparer( IComparer<ItemPair> comparer )
Parameters
- comparer
- An IComparer<T> where T is the ItemPair that will be used to sort the list of items.
Return Value
true if the comparer was successfully assigned; false if the same comparer is already assigned.