_TimelineView.ShowWeekNumbers Property
Returns or sets a Boolean (bool in C#) value that indicates whether week number labels are displayed in the timeline scale for the TimelineView object. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property ShowWeekNumbers As Boolean
Get
Set
'Usage
Dim instance As _TimelineView
Dim value As Boolean
value = instance.ShowWeekNumbers
instance.ShowWeekNumbers = value
[DispIdAttribute()]
bool ShowWeekNumbers { get; set; }
Property Value
Type: System.Boolean
Remarks
If this property is set to True, the location in which week number labels are displayed in the timeline scale for the TimelineView object depends on the value of the TimelineViewMode property.
Property value |
Label location |
olTimelineViewDay |
Displayed in the upper portion of the timeline scale, prefacing the date label. |
olTimelineViewWeek |
Displayed in the upper portion of the timeline scale, prefacing the week label. |
olTimelineViewMonth |
Displayed in the lower portion of the timeline scale, replacing the day and date labels. |