IntPtr.CreateSaturating<TOther>(TOther) Metoda

Definicja

Tworzy wystąpienie bieżącego typu z wartości, saturując wszystkie wartości, które mieszczą się poza reprezentatywnym zakresem bieżącego typu.

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

Parametry typu

TOther

Typ elementu value.

Parametry

value
TOther

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

Zwraca

IntPtr

nativeint

Wystąpienie utworzone z valueklasy , saturujące, jeśli value znajduje się poza reprezentatywnym zakresem TSelf.TSelf

Implementuje

Dotyczy