TimeZones Interface

Definition

A collection of TimeZone objects.

public interface class TimeZones : Microsoft::Office::Interop::Outlook::_TimeZones
[System.Runtime.InteropServices.Guid("000630FC-0000-0000-C000-000000000046")]
public interface TimeZones : Microsoft.Office.Interop.Outlook._TimeZones
Public Interface TimeZones
Implements _TimeZones
Derived
Attributes
Implements

Remarks

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 _TimeZones.

This collection is read-only, and serves the purpose of enumerating time zones supported by Microsoft Windows and thus Outlook. Its value is accessible through the property TimeZones and is based on the data stored in the Windows registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _TimeZones)
Class

Returns an OlObjectClass constant that represents the object's class. Read-only.

(Inherited from _TimeZones)
Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

(Inherited from _TimeZones)
CurrentTimeZone

Returns a TimeZone value that represents the current Windows system local time zone. Read-only.

(Inherited from _TimeZones)
Item[Object]

Returns a TimeZone object from the collection.

(Inherited from _TimeZones)
Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _TimeZones)
Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _TimeZones)

Methods

ConvertTime(DateTime, TimeZone, TimeZone)

Converts a DateTime value from one time zone to another time zone.

(Inherited from _TimeZones)

Applies to