Modifica

Condividi tramite


_TimelineView Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see TimelineView.

public interface class _TimelineView
[System.Runtime.InteropServices.Guid("0006309C-0000-0000-C000-000000000046")]
public interface _TimelineView
Public Interface _TimelineView
Derived
Attributes

Properties

Application

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

Class

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

DefaultExpandCollapseSetting

Returns or sets an OlDefaultExpandCollapseSetting constant that determines the default expansion setting for groups in the TimelineView object. Read/write.

EndField

Returns or sets a String (string in C#) value that represents the name of the property that ends the time duration for Outlook items displayed in the TimelineView object. Read/write.

Filter

Returns or sets a String (string in C#) value that represents the filter for a view. Read/write.

GroupByFields

Returns an OrderFields object that represents the set of fields by which the items displayed in the TimelineView object are grouped. Read-only.

ItemFont

Returns a ViewFont object that represents the font used when displaying Outlook items in the TimelineView object. Read-only.

Language

Returns or sets a String (string in C#) value that represents the language setting for the view. Read/write.

LockUserChanges

Returns or sets a Boolean (bool in C#) value that indicates whether a user can modify the settings of the view. Read/write.

LowerScaleFont

Returns a ViewFont object that represents the font used to display the lower portion of the timeline scale for a TimelineView object. Read-only.

MaxLabelWidth

Returns or sets an Integer (int in C#) value that represents the maximum length (in characters) for the label of an Outlook item in the TimelineView object. Read/write.

Name

Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.

Parent

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

SaveOption

Returns an OlViewSaveOption constant that specifies the folders in which the specified view is available and the read permissions attached to the view. Read-only.

Session

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

ShowLabelWhenViewingByMonth

Returns or sets a Boolean (bool in C#) value that determines if labels for Outlook items are displayed when viewing by month in the TimelineView object. Read/write.

ShowWeekNumbers

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.

Standard

Returns a Boolean (bool in C#) value that indicates whether the TimelineView object is a built-in Outlook view. Read-only.

StartField

Returns or sets a String (string in C#) value that represents the name of the property that starts the time duration for Outlook items displayed in the TimelineView object. Read/write.

TimelineViewMode

Returns or sets an OlTimelineViewMode constant that indicates the view mode for the TimelineView object. Read/write.

UpperScaleFont

Returns a ViewFont object that represents the font used to display the upper portion of the timeline scale for a TimelineView object. Read-only.

ViewType

Returns an OlViewType constant that indicates the view type of the view. Read-only.

XML

Returns or sets a String (string in C#) value that specifies the XML definition of the view. Read/write.

Methods

Apply()

Applies the TimelineView object to the current view.

Copy(String, OlViewSaveOption)

Creates a new View object based on the existing TimelineView object.

Delete()

Deletes an object from a collection.

GoToDate(DateTime)

Changes the date used by the current view to display information.

Reset()

Resets a built-in Microsoft Outlook view to its original settings.

Save()

Saves the view, or saves the changes to a view.

Applies to