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

정의

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

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

형식 매개 변수

TOther

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

매개 변수

value
Int32

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

result
TOther

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

반환

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

구현

적용 대상