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!

Currency.Max

Returns the larger of two Currency values.

[Visual Basic]
Public Shared Function Max( _
   ByVal c1 As Currency, _
   ByVal c2 As Currency _
) As Currency
[C#]
public static Currency Max(
   Currency c1,
   Currency c2
);
[C++]
public: static Currency Max(
   Currency c1,
   Currency c2
);
[JScript]
public static function Max(
   c1 : Currency,
   c2 : Currency
) : Currency;

Parameters

c1
The first Currency.
c2
The second Currency.

Return Value

The value that is the larger of the two Currency argument parameters.

Remarks

The Max method compares two specified Currency values and returns the larger of the two values.

See Also

Currency Structure | Currency Members | System Namespace