ParallelEnumerable.Min 方法

定义

返回值的并行序列中的最小值。Returns the minimum value in a parallel sequence of values.

重载

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>)

返回值的并行序列中的最小值。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

参数

source
ParallelQuery<Single>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

Min(ParallelQuery<Nullable<Single>>)

返回值的并行序列中的最小值。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 Nullable<float> Min (this System.Linq.ParallelQuery<Nullable<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)

参数

source
ParallelQuery<Nullable<Single>>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

Min(ParallelQuery<Nullable<Int64>>)

返回值的并行序列中的最小值。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 Nullable<long> Min (this System.Linq.ParallelQuery<Nullable<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)

参数

source
ParallelQuery<Nullable<Int64>>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

Min(ParallelQuery<Nullable<Int32>>)

返回值的并行序列中的最小值。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 Nullable<int> Min (this System.Linq.ParallelQuery<Nullable<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)

参数

source
ParallelQuery<Nullable<Int32>>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

Min(ParallelQuery<Nullable<Double>>)

返回值的并行序列中的最小值。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 Nullable<double> Min (this System.Linq.ParallelQuery<Nullable<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)

参数

source
ParallelQuery<Nullable<Double>>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

Min(ParallelQuery<Nullable<Decimal>>)

返回值的并行序列中的最小值。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 Nullable<decimal> Min (this System.Linq.ParallelQuery<Nullable<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)

参数

source
ParallelQuery<Nullable<Decimal>>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

Min(ParallelQuery<Int64>)

返回值的并行序列中的最小值。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

参数

source
ParallelQuery<Int64>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

Min(ParallelQuery<Int32>)

返回值的并行序列中的最小值。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

参数

source
ParallelQuery<Int32>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

Min(ParallelQuery<Double>)

返回值的并行序列中的最小值。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

参数

source
ParallelQuery<Double>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

Min(ParallelQuery<Decimal>)

返回值的并行序列中的最小值。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

参数

source
ParallelQuery<Decimal>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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.

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);
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

类型参数

TSource

source 的元素类型。The type of elements of source.

TResult

selector 返回的值的类型。The type of the value returned by selector.

参数

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.

返回

TResult

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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

对一个序列中的每个元素并行调用转换函数,并返回最小值。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

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<float> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<float>> ^ selector);
public static Nullable<float> Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,Nullable<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)

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

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.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<int> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<int>> ^ selector);
public static Nullable<int> Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,Nullable<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)

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

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.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<double> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<double>> ^ selector);
public static Nullable<double> Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,Nullable<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)

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

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.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static Nullable<long> Min(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, Nullable<long>> ^ selector);
public static Nullable<long> Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,Nullable<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)

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

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

对一个序列中的每个元素并行调用转换函数,并返回最小值。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

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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

对一个序列中的每个元素并行调用转换函数,并返回最小值。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

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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.

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 Nullable<decimal> Min<TSource> (this System.Linq.ParallelQuery<TSource> source, Func<TSource,Nullable<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)

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 中不包含任何元素。source contains no elements.

另请参阅

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

对一个序列中的每个元素并行调用转换函数,并返回最小值。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

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

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

对一个序列中的每个元素并行调用转换函数,并返回最小值。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

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

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.

返回

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

sourceselector 为 null 引用(在 Visual Basic 中为 Nothing)。source or selector is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

Min<TSource>(ParallelQuery<TSource>)

返回值的并行序列中的最小值。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);
static member Min : System.Linq.ParallelQuery<'Source> -> 'Source
<Extension()>
Public Function Min(Of TSource) (source As ParallelQuery(Of TSource)) As TSource

类型参数

TSource

source 的元素类型。The type of elements of source.

参数

source
ParallelQuery<TSource>

要确定其最小值的值序列。A sequence of values to determine the minimum value of.

返回

TSource

序列中的最小值。The minimum value in the sequence.

异常

已使用通过 WithCancellation 传递的令牌取消了查询。The query was canceled with the token passed in through WithCancellation.

source 为 null 引用(在 Visual Basic 中为 Nothing)。source is a null reference (Nothing in Visual Basic).

评估查询期间发生一个或多个异常。One or more exceptions occurred during the evaluation of the query.

source 不包含任何元素,且 TSource 是不可为 null 的值类型。source contains no elements and TSource is a non-nullable value type.

另请参阅

适用于