IntPtr.CreateTruncating<TOther>(TOther) メソッド

定義

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を切り捨てます。

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static IntPtr CreateTruncating(TOther value) = System::Numerics::INumberBase<IntPtr>::CreateTruncating;
public static IntPtr CreateTruncating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateTruncating : 'Other -> nativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther) As IntPtr

型パラメーター

TOther

value の型。

パラメーター

value
TOther

のインスタンス TSelfを作成するために使用される 値。

戻り値

IntPtr

nativeint

からvalue作成された のTSelfインスタンス。が の表現可能な範囲外TSelfにある場合valueは切り捨てられます。

実装

適用対象