UIntPtr.CreateSaturating<TOther>(TOther) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria uma instância do tipo atual a partir de um valor, saturando quaisquer valores que estejam fora do intervalo representável do tipo atual.
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
Parâmetros de Tipo Genérico
- TOther
O tipo de value.
Parâmetros
- value
- TOther
O valor que é usado para criar a instância de TSelf.
Devoluções
unativeint
Uma instância de TSelf criada a partir de value, saturando se value fica fora do intervalo representável de TSelf.