Edit

Share via


Int128.Explicit Operator

Definition

Overloads

Explicit(Single to Int128)

Explicitly converts a Single value to a 128-bit signed integer.

Explicit(Int128 to UIntPtr)

Explicitly converts a 128-bit signed integer to a UIntPtr value.

Explicit(Int128 to UInt64)

Explicitly converts a 128-bit signed integer to a UInt64 value.

Explicit(Int128 to UInt32)

Explicitly converts a 128-bit signed integer to a UInt32 value.

Explicit(Int128 to UInt16)

Explicitly converts a 128-bit signed integer to a UInt16 value.

Explicit(Int128 to UInt128)

Explicitly converts a 128-bit signed integer to a UInt128 value.

Explicit(Int128 to Single)

Explicitly converts a 128-bit signed integer to a Single value.

Explicit(Int128 to SByte)

Explicitly converts a 128-bit signed integer to a SByte value.

Explicit(Int128 to IntPtr)

Explicitly converts a 128-bit signed integer to a IntPtr value.

Explicit(Int128 to Int32)

Explicitly converts a 128-bit signed integer to a Int32 value.

Explicit(Int128 to Int16)

Explicitly converts a 128-bit signed integer to a Int16 value.

Explicit(Int128 to Half)

Explicitly converts a 128-bit signed integer to a Half value.

Explicit(Int128 to Double)

Explicitly converts a 128-bit signed integer to a Double value.

Explicit(Int128 to Decimal)

Explicitly converts a 128-bit signed integer to a Decimal value.

Explicit(Int128 to Char)

Explicitly converts a 128-bit signed integer to a Char value.

Explicit(Int128 to Byte)

Explicitly converts a 128-bit signed integer to a Byte value.

Explicit(Double to Int128)

Explicitly converts a Double value to a 128-bit signed integer.

Explicit(Decimal to Int128)

Explicitly converts a Decimal value to a 128-bit signed integer.

Explicit(Int128 to Int64)

Explicitly converts a 128-bit signed integer to a Int64 value.

Explicit(Single to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a Single value to a 128-bit signed integer.

public:
 static explicit operator Int128(float value);
public static explicit operator Int128 (float value);
static member op_Explicit : single -> Int128
Public Shared Narrowing Operator CType (value As Single) As Int128

Parameters

value
Single

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

Explicit(Int128 to UIntPtr)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a UIntPtr value.

public:
 static explicit operator UIntPtr(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> unativeint
Public Shared Narrowing Operator CType (value As Int128) As UIntPtr

Parameters

value
Int128

The value to convert.

Returns

UIntPtr

unativeint

value converted to a UIntPtr.

Attributes

Applies to

Explicit(Int128 to UInt64)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a UInt64 value.

public:
 static explicit operator System::UInt64(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator ulong (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint64
Public Shared Narrowing Operator CType (value As Int128) As ULong

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt64.

Attributes

Applies to

Explicit(Int128 to UInt32)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a UInt32 value.

public:
 static explicit operator System::UInt32(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator uint (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint32
Public Shared Narrowing Operator CType (value As Int128) As UInteger

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt32.

Attributes

Applies to

Explicit(Int128 to UInt16)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a UInt16 value.

public:
 static explicit operator System::UInt16(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator ushort (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint16
Public Shared Narrowing Operator CType (value As Int128) As UShort

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt16.

Attributes

Applies to

Explicit(Int128 to UInt128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a UInt128 value.

public:
 static explicit operator UInt128(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator UInt128 (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> UInt128
Public Shared Narrowing Operator CType (value As Int128) As UInt128

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt128.

Attributes

Applies to

Explicit(Int128 to Single)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Single value.

public:
 static explicit operator float(Int128 value);
public static explicit operator float (Int128 value);
static member op_Explicit : Int128 -> single
Public Shared Narrowing Operator CType (value As Int128) As Single

Parameters

value
Int128

The value to convert.

Returns

value converted to a Single.

Applies to

Explicit(Int128 to SByte)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Important

This API is not CLS-compliant.

Explicitly converts a 128-bit signed integer to a SByte value.

public:
 static explicit operator System::SByte(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator sbyte (Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> sbyte
Public Shared Narrowing Operator CType (value As Int128) As SByte

Parameters

value
Int128

The value to convert.

Returns

value converted to a SByte.

Attributes

Applies to

Explicit(Int128 to IntPtr)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a IntPtr value.

public:
 static explicit operator IntPtr(Int128 value);
public static explicit operator IntPtr (Int128 value);
static member op_Explicit : Int128 -> nativeint
Public Shared Narrowing Operator CType (value As Int128) As IntPtr

Parameters

value
Int128

The value to convert.

Returns

IntPtr

nativeint

value converted to a IntPtr.

Applies to

Explicit(Int128 to Int32)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Int32 value.

public:
 static explicit operator int(Int128 value);
public static explicit operator int (Int128 value);
static member op_Explicit : Int128 -> int
Public Shared Narrowing Operator CType (value As Int128) As Integer

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int32.

Applies to

Explicit(Int128 to Int16)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Int16 value.

public:
 static explicit operator short(Int128 value);
public static explicit operator short (Int128 value);
static member op_Explicit : Int128 -> int16
Public Shared Narrowing Operator CType (value As Int128) As Short

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int16.

Applies to

Explicit(Int128 to Half)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Half value.

public:
 static explicit operator Half(Int128 value);
public static explicit operator Half (Int128 value);
static member op_Explicit : Int128 -> Half
Public Shared Narrowing Operator CType (value As Int128) As Half

Parameters

value
Int128

The value to convert.

Returns

value converted to a Half.

Applies to

Explicit(Int128 to Double)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Double value.

public:
 static explicit operator double(Int128 value);
public static explicit operator double (Int128 value);
static member op_Explicit : Int128 -> double
Public Shared Narrowing Operator CType (value As Int128) As Double

Parameters

value
Int128

The value to convert.

Returns

value converted to a Double.

Applies to

Explicit(Int128 to Decimal)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Decimal value.

public:
 static explicit operator System::Decimal(Int128 value);
public static explicit operator decimal (Int128 value);
static member op_Explicit : Int128 -> decimal
Public Shared Narrowing Operator CType (value As Int128) As Decimal

Parameters

value
Int128

The value to convert.

Returns

value converted to a Decimal.

Applies to

Explicit(Int128 to Char)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Char value.

public:
 static explicit operator char(Int128 value);
public static explicit operator char (Int128 value);
static member op_Explicit : Int128 -> char
Public Shared Narrowing Operator CType (value As Int128) As Char

Parameters

value
Int128

The value to convert.

Returns

value converted to a Char.

Applies to

Explicit(Int128 to Byte)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Byte value.

public:
 static explicit operator System::Byte(Int128 value);
public static explicit operator byte (Int128 value);
static member op_Explicit : Int128 -> byte
Public Shared Narrowing Operator CType (value As Int128) As Byte

Parameters

value
Int128

The value to convert.

Returns

value converted to a Byte.

Applies to

Explicit(Double to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a Double value to a 128-bit signed integer.

public:
 static explicit operator Int128(double value);
public static explicit operator Int128 (double value);
static member op_Explicit : double -> Int128
Public Shared Narrowing Operator CType (value As Double) As Int128

Parameters

value
Double

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

Explicit(Decimal to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a Decimal value to a 128-bit signed integer.

public:
 static explicit operator Int128(System::Decimal value);
public static explicit operator Int128 (decimal value);
static member op_Explicit : decimal -> Int128
Public Shared Narrowing Operator CType (value As Decimal) As Int128

Parameters

value
Decimal

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

Explicit(Int128 to Int64)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Explicitly converts a 128-bit signed integer to a Int64 value.

public:
 static explicit operator long(Int128 value);
public static explicit operator long (Int128 value);
static member op_Explicit : Int128 -> int64
Public Shared Narrowing Operator CType (value As Int128) As Long

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int64.

Applies to