ComponentOne Bitmap for UWP
Distinct<TSource> Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > DXUtil Class : Distinct<TSource> Method
The type of the T source.
The source.
The comparer.
Selects distinct elements from an enumeration.
Syntax
'Declaration
 
Public Shared Function Distinct(Of TSource)( _
   ByVal source As System.Collections.Generic.IEnumerable(Of TSource), _
   Optional ByVal comparer As System.Collections.Generic.IEqualityComparer(Of TSource) _
) As System.Collections.Generic.IEnumerable(Of TSource)
public static System.Collections.Generic.IEnumerable<TSource> Distinct<TSource>( 
   System.Collections.Generic.IEnumerable<TSource> source,
   System.Collections.Generic.IEqualityComparer<TSource> comparer
)

Parameters

source
The source.
comparer
The comparer.

Type Parameters

TSource
The type of the T source.

Return Value

A enumeration of selected values
See Also

Reference

DXUtil Class
DXUtil Members