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

정의

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

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

형식 매개 변수

TOther

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

매개 변수

value
TSelf

의 instance TOther만드는 데 사용되는 값입니다.

result
TOther

이 메서드가 반환되면 에서 value변환된 의 TOther instance 포함합니다.

반환

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

적용 대상