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

정의

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

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

형식 매개 변수

TOther

변환할 형식 value 입니다.

매개 변수

value
TSelf

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

result
TOther

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

반환

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

적용 대상