NFloat.CreateChecked<TOther>(TOther) Método

Definição

Cria uma instância do tipo atual de um valor, gerando uma exceção de estouro para quaisquer valores que estejam fora do intervalo representável do tipo atual.

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

Parâmetros de tipo

TOther

O tipo de value.

Parâmetros

value
TOther

O valor usado para criar a instância de TSelf.

Retornos

Uma instância de TSelf criada com base no value.

Implementações

Aplica-se a