DateHeader.DateTime Property
The DateTime property gets or sets the date and time represented by this DateHeader object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Property DateTime As DateTime
public DateTime DateTime { get; set; }
public:
property DateTime DateTime {
DateTime get ();
void set (DateTime value);
}
/** @property */
public DateTime get_DateTime ()
/** @property */
public void set_DateTime (DateTime value)
public function get DateTime () : DateTime
public function set DateTime (value : DateTime)
Property Value
The DateTime property always returns the local time.
Remarks
When the DateTime property is set, the time zone is determined by the DateTime object that is used to set it. When the DateTime object assigned to the DateTime property is universal, the time zone is assumed to be the universal time zone. When the DateTime object assigned to the DateTime property is local, the time zone is assumed to be the current local time zone. When the DateTime object that is assigned to the DateTime property is of an unspecified DateTimeKind, the time zone is assumed to be the current local time zone.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003