Observable

Observable.Max Method (IObservable<Nullable<Int32>>)

Returns the maximum value in an observable sequence of nullable Int32 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Nullable(Of Integer)) _
) As IObservable(Of Nullable(Of Integer))
'Usage
Dim source As IObservable(Of Nullable(Of Integer))
Dim returnValue As IObservable(Of Nullable(Of Integer))

returnValue = source.Max()
public static IObservable<Nullable<int>> Max(
    this IObservable<Nullable<int>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<int>>^ Max(
    IObservable<Nullable<int>>^ source
)
static member Max : 
        source:IObservable<Nullable<int>> -> IObservable<Nullable<int>> 
public static function Max(
    source : IObservable<Nullable<int>>
) : IObservable<Nullable<int>>

Parameters

Return Value

Type: System.IObservable<Nullable<Int32>>
The maximum value in an observable sequence of nullable Int32 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Int32>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method

Include Protected Members
Include Inherited Members

Returns the maximum value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

NameDescriptionPublic methodStatic memberMax(IObservable)Returns the maximum value in an observable sequence of Decimal values.Public methodStatic memberMax(IObservable)Returns the maximum value in an observable sequence of Double values.Public methodStatic memberMax(IObservable)Returns the maximum value in an observable sequence of Int32 values.Public methodStatic memberMax(IObservable)Returns the maximum value in an observable sequence of Int64 values.Public methodStatic memberMax(IObservable<Nullable>)Returns the maximum value in an observable sequence of nullable Decimal values.Public methodStatic memberMax(IObservable<Nullable>)Returns the maximum value in an observable sequence of nullable Double values.Public methodStatic memberMax(IObservable<Nullable>)Returns the maximum value in an observable sequence of nullable Int32 values.Public methodStatic memberMax(IObservable<Nullable>)Returns the maximum value in an observable sequence of nullable Int64 values.Public methodStatic memberMax(IObservable<Nullable>)Returns the maximum value in an observable sequence of nullable Float values.Public methodStatic memberMax(IObservable)Returns the maximum value in an observable sequence of Float values.Public methodStatic memberMax(IObservable)Returns the maximum element in an observable sequence.Public methodStatic memberMax(IObservable, IComparer)Returns the maximum value in an observable sequence according to the specified comparer.Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Nullable<Int64>>)

Returns the maximum value in an observable sequence of nullable Int64 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Nullable(Of Long)) _
) As IObservable(Of Nullable(Of Long))
'Usage
Dim source As IObservable(Of Nullable(Of Long))
Dim returnValue As IObservable(Of Nullable(Of Long))

returnValue = source.Max()
public static IObservable<Nullable<long>> Max(
    this IObservable<Nullable<long>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<long long>>^ Max(
    IObservable<Nullable<long long>>^ source
)
static member Max : 
        source:IObservable<Nullable<int64>> -> IObservable<Nullable<int64>> 
public static function Max(
    source : IObservable<Nullable<long>>
) : IObservable<Nullable<long>>

Parameters

Return Value

Type: System.IObservable<Nullable<Int64>>
The maximum value in an observable sequence of nullable Int64 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Int64>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Int64>)

Returns the maximum value in an observable sequence of Int64 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Long) _
) As IObservable(Of Long)
'Usage
Dim source As IObservable(Of Long)
Dim returnValue As IObservable(Of Long)

returnValue = source.Max()
public static IObservable<long> Max(
    this IObservable<long> source
)
[ExtensionAttribute]
public:
static IObservable<long long>^ Max(
    IObservable<long long>^ source
)
static member Max : 
        source:IObservable<int64> -> IObservable<int64> 
public static function Max(
    source : IObservable<long>
) : IObservable<long>

Parameters

Return Value

Type: System.IObservable<Int64>
The maximum value in an observable sequence of Int64 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Int64>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Nullable<Decimal>>)

Returns the maximum value in an observable sequence of nullable Decimal values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Nullable(Of Decimal)) _
) As IObservable(Of Nullable(Of Decimal))
'Usage
Dim source As IObservable(Of Nullable(Of Decimal))
Dim returnValue As IObservable(Of Nullable(Of Decimal))

returnValue = source.Max()
public static IObservable<Nullable<decimal>> Max(
    this IObservable<Nullable<decimal>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<Decimal>>^ Max(
    IObservable<Nullable<Decimal>>^ source
)
static member Max : 
        source:IObservable<Nullable<decimal>> -> IObservable<Nullable<decimal>> 
public static function Max(
    source : IObservable<Nullable<decimal>>
) : IObservable<Nullable<decimal>>

Parameters

Return Value

Type: System.IObservable<Nullable<Decimal>>
The maximum value in an observable sequence of nullable Decimal values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Decimal>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Nullable<Single>>)

Returns the maximum value in an observable sequence of nullable Float values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Nullable(Of Single)) _
) As IObservable(Of Nullable(Of Single))
'Usage
Dim source As IObservable(Of Nullable(Of Single))
Dim returnValue As IObservable(Of Nullable(Of Single))

returnValue = source.Max()
public static IObservable<Nullable<float>> Max(
    this IObservable<Nullable<float>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<float>>^ Max(
    IObservable<Nullable<float>>^ source
)
static member Max : 
        source:IObservable<Nullable<float32>> -> IObservable<Nullable<float32>> 
public static function Max(
    source : IObservable<Nullable<float>>
) : IObservable<Nullable<float>>

Parameters

Return Value

Type: System.IObservable<Nullable<Single>>
The maximum value in an observable sequence of nullable Float values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Single>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Double>)

Returns the maximum value in an observable sequence of Double values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Double) _
) As IObservable(Of Double)
'Usage
Dim source As IObservable(Of Double)
Dim returnValue As IObservable(Of Double)

returnValue = source.Max()
public static IObservable<double> Max(
    this IObservable<double> source
)
[ExtensionAttribute]
public:
static IObservable<double>^ Max(
    IObservable<double>^ source
)
static member Max : 
        source:IObservable<float> -> IObservable<float> 
public static function Max(
    source : IObservable<double>
) : IObservable<double>

Parameters

Return Value

Type: System.IObservable<Double>
The maximum value in an observable sequence of Double values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Single>)

Returns the maximum value in an observable sequence of Float values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Single) _
) As IObservable(Of Single)
'Usage
Dim source As IObservable(Of Single)
Dim returnValue As IObservable(Of Single)

returnValue = source.Max()
public static IObservable<float> Max(
    this IObservable<float> source
)
[ExtensionAttribute]
public:
static IObservable<float>^ Max(
    IObservable<float>^ source
)
static member Max : 
        source:IObservable<float32> -> IObservable<float32> 
public static function Max(
    source : IObservable<float>
) : IObservable<float>

Parameters

Return Value

Type: System.IObservable<Single>
The maximum value in an observable sequence of Float values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Single>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Int32>)

Returns the maximum value in an observable sequence of Int32 values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Integer) _
) As IObservable(Of Integer)
'Usage
Dim source As IObservable(Of Integer)
Dim returnValue As IObservable(Of Integer)

returnValue = source.Max()
public static IObservable<int> Max(
    this IObservable<int> source
)
[ExtensionAttribute]
public:
static IObservable<int>^ Max(
    IObservable<int>^ source
)
static member Max : 
        source:IObservable<int> -> IObservable<int> 
public static function Max(
    source : IObservable<int>
) : IObservable<int>

Parameters

Return Value

Type: System.IObservable<Int32>
The maximum value in an observable sequence of Int32 values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Int32>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Nullable<Double>>)

Returns the maximum value in an observable sequence of nullable Double values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Nullable(Of Double)) _
) As IObservable(Of Nullable(Of Double))
'Usage
Dim source As IObservable(Of Nullable(Of Double))
Dim returnValue As IObservable(Of Nullable(Of Double))

returnValue = source.Max()
public static IObservable<Nullable<double>> Max(
    this IObservable<Nullable<double>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<double>>^ Max(
    IObservable<Nullable<double>>^ source
)
static member Max : 
        source:IObservable<Nullable<float>> -> IObservable<Nullable<float>> 
public static function Max(
    source : IObservable<Nullable<double>>
) : IObservable<Nullable<double>>

Parameters

Return Value

Type: System.IObservable<Nullable<Double>>
The maximum value in an observable sequence of nullable Double values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Double>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace

Observable.Max Method (IObservable<Decimal>)

Returns the maximum value in an observable sequence of Decimal values.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Decimal) _
) As IObservable(Of Decimal)
'Usage
Dim source As IObservable(Of Decimal)
Dim returnValue As IObservable(Of Decimal)

returnValue = source.Max()
public static IObservable<decimal> Max(
    this IObservable<decimal> source
)
[ExtensionAttribute]
public:
static IObservable<Decimal>^ Max(
    IObservable<Decimal>^ source
)
static member Max : 
        source:IObservable<decimal> -> IObservable<decimal> 
public static function Max(
    source : IObservable<decimal>
) : IObservable<decimal>

Parameters

Return Value

Type: System.IObservable<Decimal>
The maximum value in an observable sequence of Decimal values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Decimal>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace