UIntPtr.CreateSaturating<TOther>(TOther) Metodo

Definizione

Crea un'istanza del tipo corrente da un valore, saturazione di tutti i valori che rientrano all'esterno dell'intervallo rappresentabile del tipo corrente.

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

Parametri di tipo

TOther

Tipo di value.

Parametri

value
TOther

Valore utilizzato per creare l'istanza di TSelf.

Restituisce

UIntPtr

unativeint

Istanza di TSelf creata da value, saturazione se value rientra all'esterno dell'intervallo rappresentabile di TSelf.

Implementazioni

Si applica a