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

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
A rational number that contains the value of the u parameter.

.NET Framework Security

See Also

Reference

Rational Structure

Implicit Overload

Microsoft.SolverFoundation.Common Namespace