次の方法で共有


OlkTimeZoneControl Interface

A control that supports a selection from a drop-down list of time zones.

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

Syntax

'Declaration
<CoClassAttribute(GetType(OlkTimeZoneControlClass))> _
<GuidAttribute("00067367-0000-0000-C000-000000000046")> _
Public Interface OlkTimeZoneControl _
    Inherits _OlkTimeZoneControl, OlkTimeZoneControlEvents_Event
'Usage
Dim instance As OlkTimeZoneControl
[CoClassAttribute(typeof(OlkTimeZoneControlClass))]
[GuidAttribute("00067367-0000-0000-C000-000000000046")]
public interface OlkTimeZoneControl : _OlkTimeZoneControl, 
    OlkTimeZoneControlEvents_Event

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 _OlkTimeZoneControl. For information about the event members of the COM object, see OlkTimeZoneControlEvents_Event.

Before you use this control for the first time in the forms designer, add the Microsoft Outlook Time Zone Control to the control toolbox. You can only add this control to a form region in an Outlook form using the Forms Designer; you cannot add this control to a Visual Basic UserForm object in the Visual Basic Editor.

The following is an example of a time zone control. The time zone data can be obtained from the Windows registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.

If an appointment item was originally created with a time zone value that no longer exists, the appointment time will be converted to the current local time zone.

See Also

Reference

OlkTimeZoneControl Members

Microsoft.Office.Interop.Outlook Namespace