DefaultIfEmpty Method

Task Parallel System.Threading

Overload List

  NameDescription
DefaultIfEmpty<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>))
Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty.
DefaultIfEmpty<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>), TSource)
Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty.

See Also