UIntPtr.CreateTruncating<TOther>(TOther) Metoda

Definice

Vytvoří instanci aktuálního typu z hodnoty a zkrátí všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static UIntPtr CreateTruncating(TOther value) = System::Numerics::INumberBase<UIntPtr>::CreateTruncating;
public static UIntPtr CreateTruncating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateTruncating : 'Other -> unativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther) As UIntPtr

Parametry typu

TOther

Typ .value

Parametry

value
TOther

Hodnota, která se používá k vytvoření instance .TSelf

Návraty

UIntPtr

unativeint

Instance TSelf vytvořená z value, která se zkrátí, pokud value spadá mimo reprezentovatelný rozsah .TSelf

Implementuje

Platí pro