[This is preliminary documentation and is subject to change.]
Returns the maximum value for this base data type.
Declaration Syntax
C# |
public Object MaxValue()
Return Value
The maximum value, in the appropriate type
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if this base data type is not a
numeric or datetime type. |