Share via


Half.Explicit Opérateur

Définition

Surcharges

Explicit(Half to UInt32)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt32 la plus proche.

Explicit(Half to UInt64)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt64 la plus proche.

Explicit(Half to UIntPtr)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UIntPtr la plus proche.

Explicit(Int16 to Half)

Convertit explicitement une Int16 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Int32 to Half)

Convertit explicitement une Int32 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Int64 to Half)

Convertit explicitement une Int64 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(UInt64 to Half)

Convertit explicitement une UInt64 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Single to Half)

Opérateur explicite pour convertir une valeur Single en Half.

Explicit(UInt16 to Half)

Convertit explicitement une UInt16 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(UInt32 to Half)

Convertit explicitement une UInt32 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Half to UInt16)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt16 la plus proche.

Explicit(UIntPtr to Half)

Convertit explicitement une UIntPtr valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(IntPtr to Half)

Convertit explicitement une IntPtr valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Half to UInt128)

Convertit explicitement une valeur à virgule flottante demi-précision en sa plus proche représentable UInt128.

Explicit(Half to Single)

Opérateur explicite pour convertir une valeur Half en Single.

Explicit(Half to SByte)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable SByte la plus proche.

Explicit(Char to Half)

Convertit explicitement une Char valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Double to Half)

Opérateur explicite pour convertir une valeur Double en Half.

Explicit(Half to Byte)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Byte la plus proche.

Explicit(Half to Char)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Char la plus proche.

Explicit(Half to Decimal)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Decimal la plus proche.

Explicit(Decimal to Half)

Convertit explicitement une Decimal valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

Explicit(Half to Int128)

Convertit explicitement une valeur à virgule flottante demi-précision en sa plus proche représentable Int128.

Explicit(Half to Int16)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int16 la plus proche.

Explicit(Half to Int32)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int32 la plus proche.

Explicit(Half to Int64)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int64 la plus proche.

Explicit(Half to IntPtr)

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable IntPtr la plus proche.

Explicit(Half to Double)

Opérateur explicite pour convertir une valeur Half en Double.

Explicit(Half to UInt32)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt32 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable UInt32 la plus proche.

Attributs

S’applique à

Explicit(Half to UInt64)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt64 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable UInt64 la plus proche.

Attributs

S’applique à

Explicit(Half to UIntPtr)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UIntPtr la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

UIntPtr

unativeint

value converti en sa valeur représentable UIntPtr la plus proche.

Attributs

S’applique à

Explicit(Int16 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une Int16 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
Int16

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(Int32 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une Int32 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
Int32

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(Int64 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une Int64 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
Int64

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(UInt64 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une UInt64 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
UInt64

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

Attributs

S’applique à

Explicit(Single to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Opérateur explicite pour convertir une valeur Single en Half.

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

Paramètres

value
Single

Valeur à virgule flottante simple précision à convertir en Half.

Retours

Représentation Half du nombre à virgule flottante simple précision spécifié value.

S’applique à

Explicit(UInt16 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une UInt16 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
UInt16

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

Attributs

S’applique à

Explicit(UInt32 to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une UInt32 valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
UInt32

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

Attributs

S’applique à

Explicit(Half to UInt16)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable UInt16 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable UInt16 la plus proche.

Attributs

S’applique à

Explicit(UIntPtr to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une UIntPtr valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
UIntPtr

unativeint

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

Attributs

S’applique à

Explicit(IntPtr to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une IntPtr valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
IntPtr

nativeint

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(Half to UInt128)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa plus proche représentable UInt128.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en entier non signé 128 bits.

Attributs

S’applique à

Explicit(Half to Single)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Opérateur explicite pour convertir une valeur Half en Single.

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

Paramètres

value
Half

Valeur à virgule flottante demi-précision à convertir en Single.

Retours

Représentation Single du nombre à virgule flottante demi-précision spécifié value.

S’applique à

Explicit(Half to SByte)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Important

Cette API n’est pas conforme CLS.

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable SByte la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable SByte la plus proche.

Attributs

S’applique à

Explicit(Char to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une Char valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
Char

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(Double to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Opérateur explicite pour convertir une valeur Double en Half.

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

Paramètres

value
Double

Valeur à virgule flottante double précision à convertir en Half.

Retours

Représentation Half du nombre à virgule flottante double précision spécifié value.

S’applique à

Explicit(Half to Byte)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Byte la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Byte la plus proche.

S’applique à

Explicit(Half to Char)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Char la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Char la plus proche.

S’applique à

Explicit(Half to Decimal)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Decimal la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Decimal la plus proche.

S’applique à

Explicit(Decimal to Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une Decimal valeur en sa valeur à virgule flottante de demi-précision représentable la plus proche.

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

Paramètres

value
Decimal

La valeur à convertir.

Retours

value convertie en sa valeur à virgule flottante de demi-précision représentant la plus proche.

S’applique à

Explicit(Half to Int128)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa plus proche représentable Int128.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en entier signé 128 bits.

S’applique à

Explicit(Half to Int16)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int16 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Int16 la plus proche.

S’applique à

Explicit(Half to Int32)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int32 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Int32 la plus proche.

S’applique à

Explicit(Half to Int64)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable Int64 la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

value converti en sa valeur représentable Int64 la plus proche.

S’applique à

Explicit(Half to IntPtr)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Convertit explicitement une valeur à virgule flottante demi-précision en sa valeur représentable IntPtr la plus proche.

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

Paramètres

value
Half

La valeur à convertir.

Retours

IntPtr

nativeint

value converti en sa valeur représentable IntPtr la plus proche.

S’applique à

Explicit(Half to Double)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Opérateur explicite pour convertir une valeur Half en Double.

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

Paramètres

value
Half

Valeur à virgule flottante demi-précision à convertir en Double.

Retours

Représentation Double du nombre à virgule flottante demi-précision spécifié value.

S’applique à