Int16.INumberBase<Int16>.TryConvertFromTruncating<TOther> 方法

定义

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

类型参数

TOther

参数

value
TOther
result
Int16

返回

适用于