다음을 통해 공유


NFloat.INumberBase<NFloat>.TryConvertToSaturating<TOther> 메서드

정의

현재 형식의 인스턴스를 다른 형식으로 변환하려고 시도하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 채도합니다.

generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertToSaturating(System::Runtime::InteropServices::NFloat value, [Runtime::InteropServices::Out] TOther % result) = System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>::TryConvertToSaturating;
static bool INumberBase<NFloat>.TryConvertToSaturating<TOther> (System.Runtime.InteropServices.NFloat value, out TOther result) where TOther : System.Numerics.INumberBase<TOther>;
static member System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertToSaturating : System.Runtime.InteropServices.NFloat * 'Other -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
 Shared Function TryConvertToSaturating(Of TOther As INumberBase(Of TOther)) (value As NFloat, ByRef result As TOther) As Boolean Implements INumberBase(Of NFloat).TryConvertToSaturating

형식 매개 변수

TOther

변환해야 하는 value 형식입니다.

매개 변수

value
NFloat

인스턴스를 만드는 데 사용되는 값입니다 TOther.

result
TOther

이 메서드가 반환되면 에서 value변환된 인스턴스가 TOther 포함됩니다.

반환

falseTOther 가 지원되지 않으면 이고, true그렇지 않으면 입니다.

구현

적용 대상