Rational Implicit Conversion (UInt32 to Rational)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts an unsigned integer to a rational number.
This API is not CLS-compliant.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
u As UInteger _
) As Rational
public static implicit operator Rational (
uint u
)
static implicit operator Rational (
unsigned int u
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- u
Type: System.UInt32
An unsigned integer value.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
A rational number that contains the value of the u parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.