TimeZone interface

Represents information for a time zone as supported by Microsoft Windows.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[GuidAttribute("000630FD-0000-0000-C000-000000000046")]
[CoClassAttribute(typeof(TimeZoneClass))]
public interface TimeZone : _TimeZone

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _TimeZone.

The TimeZone object is an Outlook wrapper for time zone data.

This data can be obtained from the Windows registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. In this case, some properties of this object are parts of in the TZI value for the time zone in the registry. A TZI value is mapped to the Windows TIME_ZONE_INFORMATION structure.

Community Additions

ADD
Show:
© 2014 Microsoft