IFloatingPoint<TSelf>.ConvertToInteger<TInteger>(TSelf) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Converte um valor em um tipo inteiro especificado usando saturação no estouro
public:
generic <typename TInteger>
where TInteger : System::Numerics::IBinaryInteger<TInteger> static override TInteger ConvertToInteger(TSelf value);
public static virtual TInteger ConvertToInteger<TInteger>(TSelf value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToInteger : 'Self -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Overrides Function ConvertToInteger(Of TInteger As IBinaryInteger(Of TInteger)) (value As TSelf) As TInteger
Parâmetros de tipo
- TInteger
O tipo inteiro no qual value é convertido.
Parâmetros
- value
- TSelf
O valor a ser convertido.
Retornos
Uma instância de TInteger criada a partir de value.