NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Math.Max (UInt64, UInt64)

Returns the larger of two numbers.

[Visual Basic]
Overloads Public Shared Function Max( _
   ByVal val1 As UInt64, _
   ByVal val2 As UInt64 _
) As UInt64
[C#]
public static ulong Max(
   ulong val1,
   ulong val2
);
[C++]
public: static unsigned __int64 Max(
   unsigned __int64 val1,
   unsigned __int64 val2
);
[JScript]
public static function Max(
   val1 : UInt64,
   val2 : UInt64
) : UInt64;

Parameters

val1
The first of two values to be compared.
val2
The second of two values to be compared.

Return Value

Returns the maximum of val1 and val2.

See Also

Math Class | Math Members | System Namespace | Math.Max Overload List