void SetStatus( CurrencyStatus nStatus );
Parameters
nStatus
The new status for this COleCurrency object.
Remarks
Call this member function to set the status (validity) of this COleCurrency object. The nStatus parameter value is defined by the CurrencyStatus enumerated type, which is defined within the COleCurrency class.
enum CurrencyStatus{
valid = 0,
invalid = 1,
null = 2,
};
For a brief description of these status values, see the following list:
Caution This function is for advanced programming situations. This function does not alter the data in this object. It will most often be used to set the status to null or invalid. Note that the assignment operator (operator =) and SetCurrency do set the status to of the object based on the source value(s).
COleCurrency Overview | Class Members | Hierarchy Chart
See Also COleCurrency::GetStatus, COleCurrency::operator =, COleCurrency::SetCurrency, COleCurrency::m_status