OlTimeStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how time values are displayed and how entries of time values are interpreted by a time control.
public enum class OlTimeStyle
[System.Runtime.InteropServices.Guid("4FD8B708-E730-49B5-BDD3-B807F48E5B83")]
public enum OlTimeStyle
Public Enum OlTimeStyle
- Inheritance
-
OlTimeStyle
- Attributes
Fields
olTimeStyleShortDuration | 4 | The drop-down portion of the time control displays only duration values with the interval set by the IntervalTime property. |
olTimeStyleTimeDuration | 1 | The drop-down portion of the time control displays time values starting from the ReferenceTime and uses the OlkTimeControl.IntervalTime property as the increment. The edit box of the time control displays the duration from the ReferenceTime to the selected time. |
olTimeStyleTimeOnly | 0 | The drop-down portion of the time control displays only time values with the interval set by the OlkTimeControl.IntervalTime property. |
Remarks
Use the time control with the olTimeStyleShortDuration style for duration fields, such as the Duration of a JournalItem. Use the time control with the olTimeStyleTimeDuration style for the end time of an appointment item. Use the time control with the olTimeStyleTimeOnly style for the start time of an appointment item.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應