Edit

Share via


_CardView 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 CardView.

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

Properties

AllowInCellEditing

Returns or sets a Boolean (bool in C#) value that determines whether in-cell editing is allowed in the CardView object. 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 CardView object. Read-only.

BodyFont

Returns a ViewFont object that represents the font used to display the body of each card in the CardView object. Read-only.

Class

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

Filter

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

HeadingsFont

Returns a ViewFont object that represents the font used to display the heading of each card in the CardView 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.

MultiLineFieldHeight

Returns or sets an Integer (int in C#) value that determines the minimum number of lines for multiline fields displayed in the CardView 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.

ShowEmptyFields

Returns or sets a Boolean (bool in C#) value that determines if empty fields are displayed for cards in the CardView object. Read/write.

SortFields

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

Standard

Returns a Boolean (bool in C#) value that indicates whether the CardView 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 CardView object. Read-only.

ViewType

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

Width

Returns or sets an Integer (int in C#) value indicating the width (in characters) of cards in the CardView object. Read/write.

XML

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

Methods

Apply()

Applies the CardView object to the current view.

Copy(String, OlViewSaveOption)

Creates a new View object based on the existing CardView 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