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

정의

값을 현재 형식의 instance 변환하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 포화 상태로 만듭니다.

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

형식 매개 변수

TOther

value의 형식입니다.

매개 변수

value
TOther

TSelfinstance 만드는 데 사용되는 값입니다.

result
TSelf

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

반환

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

적용 대상