編輯

共用方式為


_TableView 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 TableView.

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

Properties

AllowInCellEditing

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

AlwaysExpandConversation

Returns or sets a Boolean (bool in C#) 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 (bool in C#) value that indicates whether the columns in the TableView object are automatically sized by Outlook. Read/write.

AutomaticGrouping

Returns or sets a Boolean (bool in C#) 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 (string in C#) 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 (bool in C#) 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 (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.

MaxLinesInMultiLineView

Returns or sets an Integer (int in C#) 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 an Integer (int in C#) value that represents the text width (in characters) needed to trigger multiline mode in the TableView 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.

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 Boolean (bool in C#) value that indicates whether items in a conversation are vertically left-aligned and ordered by the received date and time, with the most recent item on top. Read/write.

ShowConversationSendersAboveSubject

Returns or sets a Boolean (bool in C#) 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 Boolean (bool in C#) 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 (bool in C#) value that determines whether Outlook items are shown in groups within the TableView object. Read/write.

ShowNewItemRow

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

ShowReadingPane

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

ShowUnreadAndFlaggedMessages

This object, member, or enumeration is deprecated and is not intended to be used in your code.

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 (bool in C#) 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 (string in C#) value that specifies the XML definition of the view. Read/write.

Methods

Apply()

Applies the TableView object to the current view.

Copy(String, OlViewSaveOption)

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 TableViewobject.

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