Читати англійською Редагувати

Поділитися через


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.

C#
public static explicit operator Int128(float value);

Parameters

value
Single

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator UIntPtr(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

UIntPtr

value converted to a UIntPtr.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator ulong(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt64.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator uint(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt32.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator ushort(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt16.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator UInt128(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a UInt128.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Single)

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

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

C#
public static explicit operator float(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Single.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static explicit operator sbyte(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a SByte.

Attributes

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to IntPtr)

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

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

C#
public static explicit operator IntPtr(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

IntPtr

value converted to a IntPtr.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Int32)

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

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

C#
public static explicit operator int(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int32.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Int16)

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

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

C#
public static explicit operator short(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int16.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Half)

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

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

C#
public static explicit operator Half(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Half.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Double)

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

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

C#
public static explicit operator double(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Double.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Decimal)

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

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

C#
public static explicit operator decimal(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Decimal.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Char)

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

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

C#
public static explicit operator char(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Char.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Byte)

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

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

C#
public static explicit operator byte(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Byte.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Double to Int128)

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

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

C#
public static explicit operator Int128(double value);

Parameters

value
Double

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Decimal to Int128)

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

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

C#
public static explicit operator Int128(decimal value);

Parameters

value
Decimal

The value to convert.

Returns

value converted to a 128-bit signed integer.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10

Explicit(Int128 to Int64)

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

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

C#
public static explicit operator long(Int128 value);

Parameters

value
Int128

The value to convert.

Returns

value converted to a Int64.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET 7, 8, 9, 10