IntPtr.CreateSaturating<TOther>(TOther) Método

Definición

Crea una instancia del tipo actual a partir de un valor, saturando los valores que se encuentran fuera del intervalo representable del tipo actual.

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

Parámetros de tipo

TOther

Tipo de value.

Parámetros

value
TOther

Valor que se usa para crear la instancia de TSelf.

Devoluciones

IntPtr

nativeint

Instancia de creada a partir de TSelfvalue, saturando si value se encuentra fuera del intervalo representable de TSelf.

Implementaciones

Se aplica a