BigInteger Explicit Conversion (BigInteger to Int64)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts a big integer to a long.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
bn As BigInteger _
) As Long
public static explicit operator long (
BigInteger bn
)
static explicit operator long long (
BigInteger bn
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- bn
Type: Microsoft.SolverFoundation.Common.BigInteger
A BigInteger value.
Return Value
Type: System.Int64
An object that contains the value of the bn 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.