UInt128.CreateChecked<TOther>(TOther) Metodo
In questo articolo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un'istanza del tipo corrente da un valore, generando un'eccezione di overflow per tutti i valori che non rientrano nell'intervallo rappresentabile del tipo corrente.
public:
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static UInt128 CreateChecked(TOther value) = System::Numerics::INumberBase<UInt128>::CreateChecked;
public static UInt128 CreateChecked<TOther>(TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateChecked : 'Other -> UInt128 (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateChecked(Of TOther As INumberBase(Of TOther)) (value As TOther) As UInt128
- TOther
Tipo di value
.
- value
- TOther
Valore usato per creare l'istanza di TSelf
.
Istanza di TSelf
creata da value
.
Si applica a
Prodotto | Versioni |
---|---|
.NET | 7, 8, 9, 10 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: