System::operator- method

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

Returns a new instance of Decimal class that represents a value that is the result of subtraction of the value represented by the specified Decimal object from the specified value.

template<typename T,typename _> Decimal System::operator-(const T &x, const Decimal &d)
ParameterTypeDescription
xconst T&The value to subtract from
dconst Decimal&The Decimal object representing the subtracted value

ReturnValue

A new instance of Decimal class that represents a value that is the result of subtraction of the value represented by d from x.

See Also

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

Subtracts non-nullable and nullable values.

template<typename T1,typename T2,typename> System::Nullable<decltype(some - other.get_Value())> System::operator-(const T1 &some, const Nullable<T2> &other)
ParameterDescription
T1Left operand type.
T2Right operand type.
ParameterTypeDescription
someconst T1&Left operand.
otherconst Nullable<T2>&Right operand.

ReturnValue

Substation result.

See Also

System::operator-(DayOfWeek, DayOfWeek) method

Calculates the number of days between two days of week.

auto System::operator-(DayOfWeek a, DayOfWeek b)
ParameterTypeDescription
aDayOfWeekThe minuend
bDayOfWeekThe subtrahend

ReturnValue

The number of days between weekdays a and b; the return value is a negative number if goes after ****

See Also

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

Disconnects all callbacks in right hand delegate from the end of left hand delegate callback list.

template<typename T> MulticastDelegate<T> System::operator-(MulticastDelegate<T> lhv, MulticastDelegate<T> rhv)
ParameterTypeDescription
lhvMulticastDelegate<T>The delegate from which callbacks will be removed.
rhvMulticastDelegate<T>The delegate whose callbacks will be removed.

ReturnValue

Returns a delegate that contains the callbacks of the left hand value, but without the right hand value ones.

See Also