Freigeben über


DateHeader.TimeZoneOffset Property

The TimeZoneOffset property gets the time difference between the local time stored in this DateHeader object and coordinated universal time (UTC).

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public ReadOnly Property TimeZoneOffset As TimeSpan
public TimeSpan TimeZoneOffset { get; }
public:
property TimeSpan TimeZoneOffset {
    TimeSpan get ();
}
/** @property */
public TimeSpan get_TimeZoneOffset ()
public function get TimeZoneOffset () : TimeSpan

Remarks

The value returned by TimeZoneOffset can be added to the UtcDateTime property to obtain the local time.

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