UInt64.CreateTruncating<TOther>(TOther) Metoda

Definicja

Tworzy wystąpienie bieżącego typu z wartości, obcinając wszystkie wartości, które wykraczają poza reprezentatywny zakres bieżącego typu.

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

Parametry typu

TOther

Typ elementu value.

Parametry

value
TOther

Wartość użyta do utworzenia wystąpienia klasy TSelf.

Zwraca

Wystąpienie TSelf utworzone na podstawie valuemetody obcinanie, jeśli value znajduje się poza reprezentatywnym zakresem .TSelf

Implementuje

Dotyczy