INumberBase<TSelf>.TryConvertFromTruncating<TOther> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在の型の表現可能範囲外の値を切り捨てて、現在の型のインスタンスに値を変換しようとします。
protected:
generic <typename TOther>
where TOther : System::Numerics::INumberBase<TOther> static bool TryConvertFromTruncating(TOther value, [Runtime::InteropServices::Out] TSelf % result);
protected static abstract bool TryConvertFromTruncating<TOther>(TOther value, out TSelf result) where TOther : System.Numerics.INumberBase<TOther>;
static member TryConvertFromTruncating : 'Other * 'Self -> bool (requires 'Other :> System.Numerics.INumberBase<'Other>)
Protected Shared Function TryConvertFromTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther, ByRef result As TSelf) As Boolean
型パラメーター
- TOther
value の型。
パラメーター
- value
- TOther
TSelfのインスタンスの作成に使用される値。
- result
- TSelf
このメソッドが戻るときに、TSelfから変換されたvalueのインスタンスが格納されます。