New Objects, Collections, and Enumerations
Outlook Developer Reference |
New Objects and Collections
The following objects and collections have been added to the object model in Microsoft Office Outlook 2007.
Object or Collection | Description |
---|---|
Account | The Account object represents an account defined for the current profile. |
AccountRuleCondition | Represents a rule condition that evaluates whether an account was used to send a message. |
Accounts | The Accounts collection object contains a set of Account objects representing the accounts available for the current profile. |
AddressRuleCondition | Represents a rule condition that evaluates whether the address for the recipient or sender of the message is contained in the address specified in AddressRuleCondition.Address. |
AssignToCategoryRuleAction | Represents an action that assigns categories to a message. |
AttachmentSelection | Contains a set of Attachment objects that represent the selected attachments in an Outlook item. |
AutoFormatRule | Represents a formatting rule used by a View object to determine how to format Outlook items displayed within that view. |
AutoFormatRules | Represents the collection of AutoFormatRule objects in a view. |
BusinessCardView | Represents a view that displays data as a series of Electronic Business Card (EBC) images. |
CalendarModule | Represents the Calendar navigation module in the Navigation Pane of an explorer. |
CalendarSharing | Represents a set of utilities for sharing calendar information. |
CalendarView | Represents a view that displays Outlook items in a calendar format. |
CardView | Represents a view that displays Outlook items as a series of index cards. |
Categories | Represents the collection of Category objects that define the Master Category List for a namespace. |
Category | Represents a user-defined category by which Outlook items can be grouped. |
CategoryRuleCondition | Represents a rule condition that evaluates categories on a message as compared with CategoryRuleCondition.Categories. |
Column | Represents a column of data in a Table object. |
ColumnFormat | Represents the display properties of an order field or view field in a view. |
Columns | Represents the collection of Column objects in a Table object. |
ContactsModule | Represents the Contacts navigation module in the Navigation Pane of an explorer. |
ExchangeDistributionList | The ExchangeDistributionList object provides detailed information about an AddressEntry that represents an Exchange distribution list. |
ExchangeUser | Provides detailed information about an AddressEntry that represents a Microsoft Exchange mailbox user. |
Folder | Represents an Outlook folder. |
FormNameRuleCondition | Represents a rule condition that evaluates whether a form name was used to send or receive an item. |
FormRegion | Represents a form region in an Outlook form. |
FormRegionStartup | Defines an interface that allows an add-in to specify the storage and the user interface of a form region, obtains an object for that form region, and determines when the form region is about to be displayed in a form or in the Reading Pane. |
FromRssFeedRuleCondition | Represents a rule condition that evaluates whether an item is from a specified RSS subscription. |
IconView | Represents a view that displays Outlook items as a series of labeled icons. |
ImportanceRuleCondition | Represents a rule condition that evaluates the importance of a message. |
JournalModule | Represents the Journal navigation module in the Navigation Pane of an explorer. |
MailModule | Represents the Mail navigation module in the Navigation Pane of an explorer. |
MarkAsTaskRuleAction | Represents an action that marks a message as a task. |
MoveOrCopyRuleAction | Represents an action that moves or copies a message. |
NavigationFolder | Represents a navigation folder displayed in a navigation group of a navigation module in the Navigation Pane. |
NavigationFolders | Contains a set of NavigationFolder objects that represent the navigation folders associated with a navigation group. |
NavigationGroup | Represents a navigation group displayed by a navigation module in the Navigation Pane. |
NavigationGroups | Contains a set of NavigationGroup objects that represent the navigation groups displayed by a navigation module in the Navigation Pane. |
NavigationModule | Represents a navigation module in the Navigation Pane of an explorer. |
NavigationModules | Contains a read-only set of NavigationModule objects that represent the navigation modules displayed by the Navigation Pane. |
NavigationPane | Represents the Navigation Pane displayed by the active Explorer object. |
NewItemAlertRuleAction | Represents an action that displays a new item alert to the user. |
NotesModule | Represents the Notes navigation module in the Navigation Pane of an explorer. |
OlkBusinessCardControl | This control displays a business card. |
OlkCategory | A control that displays the selected categories. |
OlkCheckBox | A control that supports one or more selections in a defined group of check box choices. |
OlkComboBox | A control that supports the display of a selection from a drop-down list of all choices. |
OlkCommandButton | A control that supports a user action specified as a command. |
OlkContactPhoto | A control that shows the contact picture for a contact item if a contact picture has been defined, or the contact picture button if no contact picture has been assigned. |
OlkControl | Defines a set of control properties common to some Microsoft Office Outlook controls. |
OlkDateControl | A control that supports the drop-down date picker used in inspectors for task and appointment items to select a date. |
OlkFrameHeader | A control that provides a separator between sections in a form. |
OlkInfoBar | A control that provides an area to display specific information on a custom form. |
OlkLabel | The basic label control, used for displaying text for read-only purposes. |
OlkListBox | A control that supports displaying a scrollable list of items. |
OlkOptionButton | A control that supports a single exclusive selection within a defined group of option button choices. |
OlkPageControl | A control that displays the contents of a page. |
OlkSenderPhoto | A control that displays the sender’s contact picture for items that can be received via e-mail. |
OlkTextBox | A control that supports a single or multiple-line data entry. |
OlkTimeControl | A control that displays the Outlook time drop-down menu. |
OlkTimeZoneControl | A control that supports a selection from a drop-down list of time zones. |
OrderField | Represents an order field, used to sort information in a view. |
OrderFields | Represents the collection of OrderField objects in a view. |
PlaySoundRuleAction | Represents an action that plays a .wav file sound. |
PropertyAccessor | Provides the ability to create, get, set, and delete properties on objects. |
Row | Represents a row of data in the Table object. |
Rule | Represents an Outlook rule. |
RuleAction | Represents an action that is run when a Rule object executes. |
RuleActions | The RuleActions object contains a set of RuleAction objects or objects derived from RuleAction, representing the actions that are executed on a Rule object. |
RuleCondition | The RuleCondition object represents either a condition that must be met before a rule executes, or an exception condition that must not be met before a rule executes. |
RuleConditions | Contains a set of RuleCondition objects or objects derived from RuleCondition, representing the conditions or exception conditions that must be satisfied in order for the Rule to execute. |
Rules | Represents a set of Rule objects that are the rules available in the current session. |
SelectNamesDialog | Displays the Select Names dialog box for the user to select entries from one or more address lists, and returns the selected entries in the collection object specified by the property SelectNamesDialog.Recipients. |
SenderInAddressListRuleCondition | Represents a rule condition that the sender's address is in the address list specified in AddressRuleCondition.Address. |
SendRuleAction | Represents an action that sends a message to one or more recipients. |
SharingItem | Represents a sharing message in an Inbox folder. |
StorageItem | A message object in MAPI that is always saved as a hidden item in the parent folder and stores private data for Outlook solutions. |
Store | Represents a file on the local computer or a network drive that stores e-mail messages and other items for an account in the current profile. |
Stores | A set of Store objects representing all the stores available in the current profile. |
Table | Represents a set of item data from a Folder or Search object, with items as rows of the table and properties as columns of the table. |
TableView | 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. |
TasksModule | Represents the Tasks navigation module in the Navigation Pane of an explorer. |
TextRuleCondition | Represents a rule condition that the part of the message, which can be the body, header, or subject, as specified by TextRuleCondition.ConditionType, contains the words specified in TextRuleCondition.Text. |
TimelineView | Represents a view that displays Outlook items in a timeline. |
TimeZone | Represents information for a time zone as supported by Microsoft Windows. |
TimeZones | A collection of TimeZone objects. |
ToOrFromRuleCondition | Represents a rule condition that the sender or the recipeints of the message, as specified by ToOrFromRuleCondition.ConditionType, is in the recipients list specified in ToOrFromRuleCondition.Recipients. |
UserDefinedProperties | Contains a set of UserDefinedProperty objects representing the user-defined properties defined for a Folder object. |
UserDefinedProperty | Represents the definition of a user-defined property for a Folder object. |
ViewField | Represents a view field, used to display information in a view. |
ViewFields | Represents the collection of ViewField objects in a view. |
ViewFont | Represents the font used when formatting text in various portions of a view. |
For diagrams that show how the new objects and collections relate to other objects in Office Outlook 2007, see the following:
- Application Object Model Map
- Items Object Model Map
- Object Model Map for Navigation Bars and Outlook Bars
- Rules Object Model Map
- Views Object Model Map
New Enumerations
The following enumerations have been added to the object model in Office Outlook 2007.
Enumerations | Description |
---|---|
OlAccountType | Specifies the type of an Account. |
OlAddressEntryUserType | Represents the type of user for the AddressEntry or object derived from AddressEntry. |
OlAddressListType | Represents the type of AddressList. |
OlAlign | Specifies the alignment for the Label property of the ColumnFormat object. |
OlAlignment | Specifies how a caption is aligned with the edge of a control. |
OlAppointmentTimeField | Specifies the time field in an appointment that the control is bound to. |
OlAttachmentBlockLevel | Specifies whether there is any restriction on the type of attachments for an item. |
OlAutoDiscoverConnectionMode | Specifies the type of connection to the Exchange server for the auto-discovery service. |
OlAutoPreview | Indicates how items will be automatically previewed. |
OlBackStyle | Specifies how the background of a control is rendered. |
OlBorderStyle | Specifies how the border of a control is rendered. |
OlBusinessCardType | Identifies the type of Electronic Business Card (EBC) format associated with a ContactItem object. |
OlCalendarDetail | Indicates the level of detail for calendar items that will be exported to an iCalendar (.ics) file. |
OlCalendarMailFormat | Determines the format of the calendar information in the body of the MailItem created by the ForwardAsICal method. |
OlCalendarViewMode | Indicates the view mode specified in the CalendarViewMode property of the CalendarView object. |
OlCategoryColor | Indicates the color specified in the Color property of the Category object. |
OlCategoryShortcutKey | Identifies the shortcut key specified for the ShortcutKey property of the Category object. |
OlColor | Constants representing colors. |
OlComboBoxStyle | Indicates the behavior of a combo box control. |
OlContactPhoneNumber | Specfies the telephone number type. |
OlContextMenu | Identifies the type of context menu to be closed in the ContextMenuClose event. |
OlDayWeekTimeScale | Specifies the scale of time periods used to display Outlook items in a CalendarView object. |
OlDefaultExpandCollapseSetting | Specifies the expand/collapse default value specified in the DefaultExpandCollapseSetting property of the TableView and TimelineView objects. |
OlDefaultSelectNamesDisplayMode | Specifies the default caption, the number of buttons, the button labels, and the address lists to display in the Select Names dialog box without requiring a resource file for any localized caption and labels. |
OlDragBehavior | Specifies the drag behavior of a control. |
OlEnterFieldBehavior | Specifies the behavior when focus enters a control. |
OlExchangeStoreType | Specifies the type of Exchange store. |
OlFormatCurrency | Indicates the format used to display currency Outlook item properties. |
OlFormatDateTime | Indicates the format used to display date/time Outlook item properties. |
OlFormatDuration | Indicates the format used to display duration Outlook item properties. |
OlFormatEnumeration | Indicates the format used to display enumeration Outlook item properties. |
OlFormatInteger | Indicates the format used to display integer Outlook item properties. |
OlFormatKeywords | Indicates the format used to display keyword Outlook item properties. |
OlFormatNumber | Indicates the format used to display number Outlook item properties. |
OlFormatPercent | Indicates the format used to display percent Outlook item properties. |
OlFormatSmartFrom | Indicates the format used to display the From Outlook item property. |
OlFormatText | Indicates the format used to display text Outlook item properties. |
OlFormatYesNo | Indicates the format used to display yes/no Outlook item properties. |
OlFormRegionMode | Identifies the mode that the form region is being loaded into, which corresponds with the container displaying the form region. |
OlFormRegionSize | Identifies the type of form region. |
OlGridLineStyle | Indicates the line style used to display grid lines for TableView objects. |
OlGroupType | Identifies the group type of a NavigationGroup object. |
OlHorizontalLayout | Specifies the alignment of controls in the horizontal direction. |
OlIconViewPlacement | Indicates how icons are arranged in an IconView object. |
OlIconViewType | Indicates the view mode when using an IconView object. |
OlMarkInterval | Specifies the time period by which a task is due. |
OlMatchEntry | Specifies if and how extensive entry matching is applied while the user types in a control. |
OlMouseButton | Indicates which mouse button is pressed during a mouse event. |
OlMousePointer | Specifies the mouse cursor that is displayed while the mouse is positioned over a control and a drag/drop operation is not being performed. |
OlMultiLine | Indicates when multiple lines are displayed in a TableView object. |
OlMultiSelect | Specifies the type of selection that is supported in a list box control. |
OlNavigationModuleType | Identifies the navigation module type of a NavigationModule object. |
OlPageType | Specifies the type of page displayed by a control. |
OlPictureAlignment | Specifies how an image is aligned with respect to text on a button. |
OlRecipientSelectors | Specifies the edit boxes (for To, Cc, Bcc), if any, to be displayed in the Select Names dialog box. |
OlReferenceType | Indicates the reference type. |
OlRuleActionType | Specifies the type of rule action for a rule. |
OlRuleConditionType | Specifies the type of rule condition or exception condition of a rule. |
OlRuleExecuteOption | Specifies the type of messages in the specified folder or folders that a rule should be applied to. |
OlRuleType | Indicates if a rule is applied to messages that are being sent or received. |
OlScrollBars | Specifies which, if any, scroll bars to display for a control. |
OlSearchScope | Specifies the scope in terms of folders for the search. |
OlSharingMsgType | Indicates the type of sharing message represented by a SharingItem object. |
OlSharingProvider | Indicates the sharing provider associated with a SharingItem object. |
OlShiftState | Represents a bitmask to indicate which modifier key is pressed during a keyboard or mouse event of a control. |
OlSpecialFolders | Specifies the types of special folders in a store. |
OlStorageIdentifierType | Specifies the type of identifier for a StorageItem object. |
OlTableContents | Specifies the type of items in a folder. |
OlTextAlign | Specifies the alignment of text in a control. |
OlTimelineViewMode | Indicates the view mode when using a TimelineView object. |
OlTimeStyle | Specifies how time values are displayed and how entries of time values are interpreted by a time control. |
OlVerticalLayout | Specifies the alignment of controls in the vertical direction. |