संपादित करें

इसके माध्यम से साझा किया गया


ParallelEnumerable.Min Method

Definition

Returns the minimum value in a parallel sequence of values.

Overloads

Min(ParallelQuery<Single>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Single>>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Int64>>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Int32>>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Double>>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Nullable<Decimal>>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Int64>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Int32>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Double>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Decimal>)

Returns the minimum value in a parallel sequence of values.

Min<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,TResult>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

Min<TSource>(ParallelQuery<TSource>)

Returns the minimum value in a parallel sequence of values.

Min(ParallelQuery<Single>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static float Min(System::Linq::ParallelQuery<float> ^ source);
public static float Min (this System.Linq.ParallelQuery<float> source);
static member Min : System.Linq.ParallelQuery<single> -> single
<Extension()>
Public Function Min (source As ParallelQuery(Of Single)) As Single

Parameters

source
ParallelQuery<Single>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min(ParallelQuery<Nullable<Single>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<float> Min(System::Linq::ParallelQuery<Nullable<float>> ^ source);
public static float? Min (this System.Linq.ParallelQuery<float?> source);
static member Min : System.Linq.ParallelQuery<Nullable<single>> -> Nullable<single>
<Extension()>
Public Function Min (source As ParallelQuery(Of Nullable(Of Single))) As Nullable(Of Single)

Parameters

source
ParallelQuery<Nullable<Single>>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min(ParallelQuery<Nullable<Int64>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<long> Min(System::Linq::ParallelQuery<Nullable<long>> ^ source);
public static long? Min (this System.Linq.ParallelQuery<long?> source);
static member Min : System.Linq.ParallelQuery<Nullable<int64>> -> Nullable<int64>
<Extension()>
Public Function Min (source As ParallelQuery(Of Nullable(Of Long))) As Nullable(Of Long)

Parameters

source
ParallelQuery<Nullable<Int64>>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min(ParallelQuery<Nullable<Int32>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<int> Min(System::Linq::ParallelQuery<Nullable<int>> ^ source);
public static int? Min (this System.Linq.ParallelQuery<int?> source);
static member Min : System.Linq.ParallelQuery<Nullable<int>> -> Nullable<int>
<Extension()>
Public Function Min (source As ParallelQuery(Of Nullable(Of Integer))) As Nullable(Of Integer)

Parameters

source
ParallelQuery<Nullable<Int32>>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min(ParallelQuery<Nullable<Double>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<double> Min(System::Linq::ParallelQuery<Nullable<double>> ^ source);
public static double? Min (this System.Linq.ParallelQuery<double?> source);
static member Min : System.Linq.ParallelQuery<Nullable<double>> -> Nullable<double>
<Extension()>
Public Function Min (source As ParallelQuery(Of Nullable(Of Double))) As Nullable(Of Double)

Parameters

source
ParallelQuery<Nullable<Double>>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min(ParallelQuery<Nullable<Decimal>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static Nullable<System::Decimal> Min(System::Linq::ParallelQuery<Nullable<System::Decimal>> ^ source);
public static decimal? Min (this System.Linq.ParallelQuery<decimal?> source);
static member Min : System.Linq.ParallelQuery<Nullable<decimal>> -> Nullable<decimal>
<Extension()>
Public Function Min (source As ParallelQuery(Of Nullable(Of Decimal))) As Nullable(Of Decimal)

Parameters

source
ParallelQuery<Nullable<Decimal>>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min(ParallelQuery<Int64>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static long Min(System::Linq::ParallelQuery<long> ^ source);
public static long Min (this System.Linq.ParallelQuery<long> source);
static member Min : System.Linq.ParallelQuery<int64> -> int64
<Extension()>
Public Function Min (source As ParallelQuery(Of Long)) As Long

Parameters

source
ParallelQuery<Int64>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min(ParallelQuery<Int32>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static int Min(System::Linq::ParallelQuery<int> ^ source);
public static int Min (this System.Linq.ParallelQuery<int> source);
static member Min : System.Linq.ParallelQuery<int> -> int
<Extension()>
Public Function Min (source As ParallelQuery(Of Integer)) As Integer

Parameters

source
ParallelQuery<Int32>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min(ParallelQuery<Double>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static double Min(System::Linq::ParallelQuery<double> ^ source);
public static double Min (this System.Linq.ParallelQuery<double> source);
static member Min : System.Linq.ParallelQuery<double> -> double
<Extension()>
Public Function Min (source As ParallelQuery(Of Double)) As Double

Parameters

source
ParallelQuery<Double>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min(ParallelQuery<Decimal>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Decimal Min(System::Linq::ParallelQuery<System::Decimal> ^ source);
public static decimal Min (this System.Linq.ParallelQuery<decimal> source);
static member Min : System.Linq.ParallelQuery<decimal> -> decimal
<Extension()>
Public Function Min (source As ParallelQuery(Of Decimal)) As Decimal

Parameters

source
ParallelQuery<Decimal>

A sequence of values to determine the minimum value of.

Returns

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource,TResult>(ParallelQuery<TSource>, Func<TSource,TResult>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource, typename TResult>
[System::Runtime::CompilerServices::Extension]
 static TResult Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, TResult> ^ selector);
public static TResult Min<TSource,TResult> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,TResult> selector);
public static TResult? Min<TSource,TResult> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,TResult> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, 'Result> -> 'Result
<Extension()>
Public Function Min(Of TSource, TResult) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, TResult)) As TResult

Type Parameters

TSource

The type of elements of source.

TResult

The type of the value returned by selector.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,TResult>

A transform function to apply to each element.

Returns

TResult

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Single>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static float Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, float> ^ selector);
public static float Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,float> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, single> -> single
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Single)) As Single

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Single>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Single>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<float> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<float>> ^ selector);
public static float? Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,float?> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, Nullable<single>> -> Nullable<single>
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Nullable(Of Single))) As Nullable(Of Single)

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Nullable<Single>>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int32>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<int> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<int>> ^ selector);
public static int? Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,int?> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, Nullable<int>> -> Nullable<int>
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Nullable(Of Integer))) As Nullable(Of Integer)

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Nullable<Int32>>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Double>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<double> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<double>> ^ selector);
public static double? Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,double?> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, Nullable<double>> -> Nullable<double>
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Nullable(Of Double))) As Nullable(Of Double)

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Nullable<Double>>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Int64>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<long> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<long>> ^ selector);
public static long? Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,long?> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, Nullable<int64>> -> Nullable<int64>
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Nullable(Of Long))) As Nullable(Of Long)

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Nullable<Int64>>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int64>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static long Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, long> ^ selector);
public static long Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,long> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, int64> -> int64
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Long)) As Long

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Int64>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Int32>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static int Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, int> ^ selector);
public static int Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,int> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, int> -> int
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Integer)) As Integer

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Int32>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Nullable<Decimal>>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<System::Decimal> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<System::Decimal>> ^ selector);
public static decimal? Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,decimal?> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, Nullable<decimal>> -> Nullable<decimal>
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Nullable(Of Decimal))) As Nullable(Of Decimal)

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Nullable<Decimal>>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Double>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static double Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, double> ^ selector);
public static double Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,double> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, double> -> double
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Double)) As Double

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Double>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>, Func<TSource,Decimal>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Invokes in parallel a transform function on each element of a sequence and returns the minimum value.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Decimal Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, System::Decimal> ^ selector);
public static decimal Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,decimal> selector);
static member Min : System.Linq.ParallelQuery<'Source> * Func<'Source, decimal> -> decimal
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource), selector As Func(Of TSource, Decimal)) As Decimal

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

selector
Func<TSource,Decimal>

A transform function to apply to each element.

Returns

The minimum value in the sequence.

Exceptions

source or selector is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to

Min<TSource>(ParallelQuery<TSource>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

Returns the minimum value in a parallel sequence of values.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static TSource Min(System::Linq::ParallelQuery<TSource> ^ source);
public static TSource Min<TSource> (this System.Linq.ParallelQuery<TSource> source);
public static TSource? Min<TSource> (this System.Linq.ParallelQuery<TSource> source);
static member Min : System.Linq.ParallelQuery<'Source> -> 'Source
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource)) As TSource

Type Parameters

TSource

The type of elements of source.

Parameters

source
ParallelQuery<TSource>

A sequence of values to determine the minimum value of.

Returns

TSource

The minimum value in the sequence.

Exceptions

source is a null reference (Nothing in Visual Basic).

One or more exceptions occurred during the evaluation of the query.

source contains no elements and TSource is a non-nullable value type.

See also

Applies to