編輯

共用方式為


TimeZone Interface

Definition

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

public interface class TimeZone : Microsoft::Office::Interop::Outlook::_TimeZone
[System.Runtime.InteropServices.Guid("000630FD-0000-0000-C000-000000000046")]
public interface TimeZone : Microsoft.Office.Interop.Outlook._TimeZone
Public Interface TimeZone
Implements _TimeZone
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 _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

Properties

Application

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

(Inherited from _TimeZone)
Bias

Returns an Integer (int in C#) value that represents the difference in minutes of between the local time in this time zone and the Coordinated Universal Time (UTC). Read-only.

(Inherited from _TimeZone)
Class

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

(Inherited from _TimeZone)
DaylightBias

Returns an Integer (int in C#) value that represents the time offset in minutes from the Bias to account for daylight time in this time zone. Read-only.

(Inherited from _TimeZone)
DaylightDate

Returns a DateTime value that represents the date and time in this time zone when time changes over to daylight time in the current year. Read-only.

(Inherited from _TimeZone)
DaylightDesignation

Returns a String (string in C#) that identifies the time zone in daylight time. Read-only.

(Inherited from _TimeZone)
ID

Returns a String (string in C#) that uniquely identifies the time zone. Read-only.

(Inherited from _TimeZone)
Name

Returns a String (string in C#) that represents the identifier of the time zone. Read-only.

(Inherited from _TimeZone)
Parent

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

(Inherited from _TimeZone)
Session

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

(Inherited from _TimeZone)
StandardBias

Returns an Integer (int in C#) value that represents the time offset in minutes from the Bias to account for standard time in this time zone. Read-only.

(Inherited from _TimeZone)
StandardDate

Returns a DateTime value that represents the date and time in this time zone when time changes over to standard time. Read-only.

(Inherited from _TimeZone)
StandardDesignation

Returns a String (string in C#) that identifies the time zone in standard time. Read-only.

(Inherited from _TimeZone)

Applies to