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.Min (UInt16, UInt16)

Returns the smaller of two numbers.

[Visual Basic]
Overloads Public Shared Function Min( _
   ByVal val1 As UInt16, _
   ByVal val2 As UInt16 _
) As UInt16
[C#]
public static ushort Min(
   ushort val1,
   ushort val2
);
[C++]
public: static unsigned short Min(
   unsigned short val1,
   unsigned short val2
);
[JScript]
public static function Min(
   val1 : UInt16,
   val2 : UInt16
) : UInt16;

Parameters

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

Return Value

Returns the minimum of val1 and val2.

See Also

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