System::operator- メソッド

System::operator-(const T&, const Decimal&) method

指定された値から、指定された Decimal オブジェクトが表す値を減算した結果を表す Decimal クラスの新しいインスタンスを返します。

template<typename T,typename _> Decimal System::operator-(const T &x, const Decimal &d)
パラメーター説明
xconst T&減算対象の値
dconst Decimal&減算された値を表す Decimal オブジェクト

ReturnValue

x から d が表す値を減算した結果の値を表す Decimal クラスの新しいインスタンス。

参照

System::operator-(const T1&, const Nullable<T2>&) method

非 nullable と nullable の値を減算します。

template<typename T1,typename T2,typename> System::Nullable<decltype(some - other.get_Value())> System::operator-(const T1 &some, const Nullable<T2> &other)
パラメーター説明
T1左オペランドの型。
T2右オペランドの型。
パラメーター説明
いくつかconst T1&左オペランド。
その他const Nullable<T2>&右オペランド。

ReturnValue

減算結果。

参照

System::operator-(DayOfWeek, DayOfWeek) method

曜日の2つの日の間の日数を計算します。

auto System::operator-(DayOfWeek a, DayOfWeek b)
パラメーター説明
aDayOfWeek被減数
bDayOfWeek減数

ReturnValue

平日 ab の間の日数; goes 後の場合は戻り値が負の数になります ****

参照

System::operator-(MulticastDelegate<T>, MulticastDelegate<T>) method

左側デリゲートのコールバックリストの末尾から、右側デリゲートのすべてのコールバックを切断します。

template<typename T> MulticastDelegate<T> System::operator-(MulticastDelegate<T> lhv, MulticastDelegate<T> rhv)
パラメーター説明
lhvMulticastDelegate<T>コールバックが削除されるデリゲート。
rhvMulticastDelegate<T>コールバックが削除されるデリゲート。

ReturnValue

左側の値のコールバックを含むが、右側の値のコールバックは含まないデリゲートを返します。

参照