Поделиться через


COleDateTime::SetStatus

Sets the status of this COleDateTime object.

void SetStatus(
   DateTimeStatus status 
) throw( );

Параметры

  • status
    The new status value for this COleDateTime object.

Заметки

The status parameter value is defined by the DateTimeStatus enumerated type, which is defined within the COleDateTime class. See COleDateTime::GetStatus for details.

Предупреждающее замечаниеВнимание!

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 SetDateTime do set the status of the object based on the source value(s).

Пример

See the example for GetStatus.

Требования

Header: atlcomtime.h

См. также

Основные понятия

COleDateTime Class

COleDateTime Members

Hierarchy Chart

COleDateTime::GetStatus

COleDateTime::operator =

COleDateTime::SetDateTime

COleDateTime::m_dt