共用方式為


TableView Members (Outlook)

Represents a view that displays Outlook items in a table, with each item in a row and the details of the item in the columns.

Methods

Name

Description

Apply

Applies the TableView object to the current view.

Copy

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

Delete

Deletes an object from a collection.

GetTable

Returns a Table object that represents all of the Microsoft Outlook items that are contained in a TableView object.

GoToDate

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.

Properties

Name

Description

AllowInCellEditing

Returns or sets a Boolean value that determines whether in-cell editing is allowed in the TableView object. Read/write.

AlwaysExpandConversation

Returns or sets a value that indicates whether conversations are always fully expanded in the table view. Read/write.

Application

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

AutoFormatRules

Returns an AutoFormatRules object that represents the set of formatting rules applicable to the TableView object. Read-only.

AutomaticColumnSizing

Returns or sets a Boolean value that indicates whether the columns in the TableView object are automatically sized by Outlook. Read/write.

AutomaticGrouping

Returns or sets a Boolean value that indicates whether the automatic grouping is active in the TableView object. Read/write.

AutoPreview

Returns or sets an OlAutoPreview constant that determines how items are automatically previewed by the TableView object. Read/write.

AutoPreviewFont

Returns a ViewFont object that represents the font used when automatically previewing Outlook items in the TableView object. Read-only.

Class

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

ColumnFont

Returns a ViewFont object that represents the font used when displaying column headers in the TableView object. Read-only.

DefaultExpandCollapseSetting

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

Filter

Returns or sets a String value that represents the filter for a view. Read/write.

GridLineStyle

Returns or sets an OlGridLineStyle constant that represents the line style used for grid lines in the TableView object. Read/write.

GroupByFields

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

HideReadingPaneHeaderInfo

Returns or sets a Boolean value that determines whether the header for an Outlook item is displayed in the Reading Pane for the TableView object. Read/write.

Language

Returns or sets a String value that represents the language setting for the view. Read/write.

LockUserChanges

Returns or sets a Boolean value that indicates whether a user can modify the settings of the view. Read/write.

MaxLinesInMultiLineView

Returns or sets a Long value that determines the maximum number of lines displayed in multiline mode for the TableView object. Read/write.

MultiLine

Returns or sets an OlMultiLine constant that determines how multiple lines are displayed in the TableView object. Read/write.

MultiLineWidth

Returns or sets a Long value that represents the text width (in characters) needed to trigger multiline mode in the TableView object . Read/write

Name

Returns or sets the display name for the object. Read/write.

Parent

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

RowFont

Returns a ViewFont object that represents the font used when displaying rows in the TableView 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.

ShowConversationByDate

Returns or sets a value that indicates whether items in the table view are organized by the conversation date and conversation. Read/write.

ShowConversationSendersAboveSubject

Returns or sets a Boolean value that indicates whether the table view displays the participating senders above the subject line in the conversation header, or below it. Read/write.

ShowFullConversations

Returns or sets a value that indicates whether to display conversation items from other folders, such as the Sent Items folder, as part of the conversation in the table view. Read/write.

ShowItemsInGroups

Returns or sets a Boolean value that determines whether Outlook items are shown in groups within the TableView object. Read/write.

ShowNewItemRow

Returns or sets a Boolean value that determines if the new item row is displayed in the TableView object. Read/write

ShowReadingPane

Returns or sets a Boolean value that indicates whether the Reading Pane is displayed in the TableView object. Read/write.

SortFields

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

Standard

Returns a Boolean value that indicates whether the TableView object is a built-in Outlook view. Read-only.

ViewFields

Returns a ViewFields object that represents the set of fields with which Outlook items are displayed in the TableView object. Read-only.

ViewType

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

XML

Returns or sets a String value that specifies the XML definition of the view. Read/write.