Decimal.INumberBase<Decimal>.TryConvertFromTruncating<TOther> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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