共用方式為


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

定義

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

類型參數

TOther

參數

value
TOther
result
Decimal

傳回

適用於