Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Outlook 2007
What's New
 New Members and Constants
New Members and Constants

New Members

The following properties, methods, and events have been added to existing objects in Microsoft Office Outlook 2007.

AddressEntry

PropertiesDescription
AddressEntryUserTypeReturns a constant from the OlAddressEntryUserType enumeration representing the user type of the AddressEntry. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AddressEntry object. Read-only.
MethodsDescription
GetContactReturns a ContactItem object that represents the AddressEntry, if the AddressEntry corresponds to a contact in an Outlook Contacts Address Book (CAB).
GetExchangeDistributionListReturns an ExchangeDistributionList object that represents the AddressEntry if the AddressEntry belongs to an Exchange AddressList object such as the Global Address List (GAL) and corresponds to an Exchange distribution list.
GetExchangeUserReturns an ExchangeUser object that represents the AddressEntry if the AddressEntry belongs to an Exchange AddressList object such as the Global Address List (GAL) and corresponds to an Exchange user.

AddressList

PropertiesDescription
AddressListTypeReturns a constant from the OlAddressListType enumeration that represents the type of the AddressList. Read-only.
IsInitialAddressListReturns a Boolean that indicates if the AddressList is the initial AddressList shown in the Select Names dialog. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AddressList object. Read-only.
ResolutionOrderReturns an Integer that represents the order of this AddressList to be used when resolving recipient names. Read-only.
MethodsDescription
GetContactsFolderObtains a Folder object that represents the Contacts folder for the AddressList object.

Application

PropertiesDescription
AssistanceReturns an IAssistance object used to invoke help. Read-only.
DefaultProfileNameReturns a String representing the name of the default profile name. Read-only.
IsTrustedReturns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only
TimeZonesReturns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.
MethodsDescription
GetObjectReferenceCreates a strong or weak object reference for a specified Outlook object.
EventsDescription
AttachmentContextMenuDisplayOccurs before a context menu is displayed for a collection of attachments.
BeforeFolderSharingDialogOccurs before the Sharing dialog box is displayed for a selected Folder object.
ContextMenuCloseOccurs after a context menu is closed.
FolderContextMenuDisplayOccurs before a context menu is displayed for a folder.
ItemContextMenuDisplayOccurs before a context menu is displayed for a collection of Outlook items.
ItemLoadOccurs when an Outlook item is loaded into memory.
ShortcutContextMenuDisplayOccurs before a context menu is displayed for a shortcut.
StoreContextMenuDisplayOccurs before a context menu is displayed for a store.
ViewContextMenuDisplayOccurs before a context menu is displayed for a view.

AppointmentItem

PropertiesDescription
EndInEndTimeZoneReturns or sets a Date value that represents the end date and time of the appointment expressed in the AppointmentItem.EndTimeZone. Read/write.
EndTimeZoneReturns or sets a TimeZone value that corresponds to the end time of the appointment. Read/write.
EndUTCReturns or sets a Date value that represents the end date and time of the appointment expressed in the Coordinated Univeral Time (UTC) standard. Read/write.
ForceUpdateToAllAttendeesReturns or sets a Boolean value that indicates whether updates to the AppointmentItem object should be sent to all attendees. Read/write.
GlobalAppointmentIDReturns a String value that represents a unique global identifier for the AppointmentItem object. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AppointmentItem object. Read-only.
SendUsingAccountReturns or sets an Account object that represents the account under which the AppointmentItem is to be sent. Read/write.
StartInStartTimeZoneReturns or sets a Date value that represents the start date and time of the appointment expressed in the AppointmentItem.StartTimeZone. Read/write.
StartTimeZoneReturns or sets a TimeZone value that corresponds to the time zone for the start time of the appointment. Read/write.
StartUTCReturns or sets a Date value that represents the start date and time of the appointment expressed in the Coordinated Univeral Time (UTC) standard. Read/write.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

Attachment

PropertiesDescription
BlockLevelReturns an OlAttachmentBlockLevel constant that specifies if there is any restriction on the attachment based on its file extension. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Attachment object. Read-only.
SizeReturns a Long indicating the size (in bytes) of the attachment. Read-only.

ContactItem

PropertiesDescription
BusinessCardLayoutXmlReturns or sets a String that represents the XML markup for the layout of the Electronic Business Card. Read/write.
BusinessCardTypeReturns an OlBusinessCardType constant that specifies the type of Electronic Business Card used by this contact. Read-only.
ReminderSetReturns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.
IsMarkedAsTaskReturns a Boolean value that indicates whether the ContactItem is marked as a task. Read-only.
ReminderPlaySoundReturns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. Read/write.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent ContactItem object. Read-only.
ReminderOverrideDefaultReturns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. Read/write.
ReminderSoundFileReturns or sets a String indicating the path and file name of the sound file to play when the reminder occurs for the Outlook item. Read/write.
ReminderTimeReturns or sets a Date indicating the date and time at which the reminder should occur for the specified item. Read/write.
TaskCompletedDateReturns or sets a Date value that represents the completion date of the task for this ContactItem. Read/write.
TaskDueDateReturns or sets a Date value that represents the due date of the task for this ContactItem. Read/write.
TaskStartDateReturns or sets a Date value that represents the start date of the task for this ContactItem object. Read/write.
TaskSubjectReturns or sets a String value that represents the subject of the task for the ContactItem object. Read/write.
ToDoTaskOrdinalReturns or sets a Date value that represents the ordinal value of the task for the ContactItem. Read/write.
MethodsDescription
AddBusinessCardLogoPictureAdds a logo picture to the current Electronic Business Card of the contact item.
ClearTaskFlagClears the ContactItem object as a task.
ForwardAsBusinessCardCreates a new MailItem object containing contact information and, optionally, an Electronic Business Card (EBC) image based on the specified ContactItem object.
MarkAsTaskMarks a ContactItem object as a task and assigns a task interval for the object.
ResetBusinessCardResets the Electronic Business Card on the contact item to the default business card, deleting any custom layout and logo on the Electronic Business Card.
SaveBusinessCardImageSaves an image of the business card generated from the specified ContactItem object.
ShowBusinessCardEditorDisplays the electronic business card (EBC) editor dialog box for the ContactItem object.
ShowCheckPhoneDialogDisplays the Check Phone Number dialog box for a specified telephone number contained by a ContactItem object.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

DistListItem

PropertiesDescription
IsMarkedAsTaskReturns a Boolean value that indicates whether the DistListItem is marked as a task. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent DistListItem object. Read-only.
ReminderOverrideDefaultReturns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. Read/write.
ReminderPlaySoundReturns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. Read/write.
ReminderSetReturns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.
ReminderSoundFileReturns or sets a String indicating the path and file name of the sound file to play when the reminder occurs for the Outlook item. Read/write.
ReminderTimeReturns or sets a Date indicating the date and time at which the reminder should occur for the specified item. Read/write.
TaskCompletedDateReturns or sets a Date value that represents the completion date of the task for this DistListItem. Read/write.
TaskDueDateReturns or sets a Date value that represents the due date of the task for this DistListItem. Read/write.
TaskStartDateReturns or sets a Date value that represents the start date of the task for this DistListItem object. Read/write.
TaskSubjectReturns or sets a String value that represents the subject of the task for the DistListItem object. Read/write.
ToDoTaskOrdinalReturns or sets a Date value that represents the ordinal value of the task for the DistListItem. Read/write.
MethodsDescription
ClearTaskFlagClears the DistListItem object as a task.
MarkAsTaskMarks a DistListItem object as a task and assigns a task interval for the object.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

DocumentItem

PropertiesDescription
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent DocumentItem object. Read-only.
EventsDescription
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

Explorer

PropertiesDescription
NavigationPaneReturns a NavigationPane object that represents the Navigation Pane for an Explorer object. Read-only.
MethodsDescription
ClearSearchClears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer.
SearchPerforms a Microsoft Instant Search on the current folder displayed in the Explorer using the given Query.

Inspector

MethodsDescription
NewFormRegionOpens a new page in design mode in the inspector for a new form region.
OpenFormRegionOpens a page in design mode in the inspector for the specified form region.
SaveFormRegionSaves the specified page in design mode in the inspector to the specified file.
EventsDescription
PageChangeOccurs when the active form page changes, either programmatically or by user action, on an Inspector object.

JournalItem

PropertiesDescription
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent JournalItem object. Read-only.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

MailItem

PropertiesDescription
IsMarkedAsTaskReturns a Boolean value that indicates whether the MailItem is marked as a task. Read-only.
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent MailItem object. Read-only.
SendUsingAccountReturns or sets an Account object that represents the account under which the MailItem is to be sent. Read/write.
TaskCompletedDateReturns or sets a Date value that represents the completion date of the task for this MailItem. Read/write.
TaskDueDateReturns or sets a Date value that represents the due date of the task for this MailItem. Read/write.
TaskStartDateReturns or sets a Date value that represents the start date of the task for this MailItem object. Read/write.
TaskSubjectReturns or sets a String value that represents the subject of the task for the MailItem object. Read/write.
ToDoTaskOrdinalReturns or sets a Date value that represents the ordinal value of the task for the MailItem. Read/write.
MethodsDescription
AddBusinessCardAppends contact information based on the Electronic Business Card (EBC) associated with the specified ContactItem object to the MailItem object.
ClearTaskFlagClears the MailItem object as a task.
MarkAsTaskMarks a MailItem object as a task and assigns a task interval for the object.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

MeetingItem

PropertiesDescription
PropertyAccessorReturns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent MeetingItem object. Read-only.
EventsDescription
AttachmentRemoveOccurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAddOccurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreviewOccurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentReadOccurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFileOccurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSaveOccurs before the item is automatically saved by Outlook.
UnloadOccurs before an Outlook item is unloaded from memory, either programmatically or by user action.

NameSpace

PropertiesDescription
AccountsReturns an Accounts collection object that represents all the Account objects in the current profile. Read-only.
AutoDiscoverConnectionModeReturns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to the Exchange server for auto-discovery service. Read-only.
AutoDiscoverXmlReturns a String that represents information in XML retrieved from the auto-discovery service of an Exchange server. Read-only.
CategoriesReturns or sets a Categories object that represents the set of Category objects available to the namespace. Read/write.
CurrentProfileNameReturns a String representing the name of the current profile. Read-only.
DefaultStoreReturns a Store object representing the default Store for the profile. Read-only.
ExchangeMailboxServerNameReturns a String value that represents the name of the Exchange server on which the active mailbox is hosted. Read-only.
ExchangeMailboxServerVersionReturns a String value that represents the full version of the Exchange server on which the active mailbox is hosted. Read-only.
StoresReturns a Stores collection object that represents all the Store objects in the current profile. Read-only.
MethodsDescription
CompareEntryIDsReturns a Boolean value that indicates if two entry ID values refer to the same Outlook item.
CreateSharingItemCreates a new SharingItem object.
GetAddressEntryFromIDReturns an AddressEntry object that represents the address entry specified by ID.
GetGlobalAddressListReturns an AddressList object that represents the Exchange Global Address List.
GetSelectNamesDialogObtains a SelectNamesDialog object for the current session.
GetStoreFromIDReturns a Store object that represents the store specified by ID.
OpenSharedFolderOpens a shared folder referenced through a URL or file name.
OpenSharedItemOpens a shared item from a specified path or URL.
SendAndReceiveInitiates immediate delivery of all undelivered messages submitted in the current session, and immediate receipt of mail for all accounts in the current profile.
EventsDescription
AutoDiscoverCompleteOccurs after Outlook has finished accessi