Selects distinct elements from an enumeration.
'宣言
Public Shared Function Distinct(Of )( _
ByVal As System.Collections.Generic.IEnumerable(Of TSource), _
Optional ByVal As System.Collections.Generic.IEqualityComparer(Of TSource) _
) As System.Collections.Generic.IEnumerable(Of TSource)
public static System.Collections.Generic.IEnumerable<TSource> Distinct<>(
System.Collections.Generic.IEnumerable<TSource> ,
System.Collections.Generic.IEqualityComparer<TSource>
)
パラメータ
- source
- The source.
- comparer
- The comparer.
型パラメータ
- TSource
- The type of the T source.
戻り値の型
A enumeration of selected values