New Members and Constants
In this article
Outlook Developer Reference
New Members
The following properties, methods, and events have been added to existing objects in Microsoft Office Outlook 2007.
Assistance
Returns an IAssistance object used to invoke help. Read-only.
DefaultProfileName
Returns a String representing the name of the default profile name. Read-only.
IsTrusted
Returns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only
TimeZones
Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.
GetObjectReference
Creates a strong or weak object reference for a specified Outlook object.
EndInEndTimeZone
Returns or sets a Date value that represents the end date and time of the appointment expressed in the AppointmentItem.EndTimeZone . Read/write.
EndTimeZone
Returns or sets a TimeZone value that corresponds to the end time of the appointment. Read/write.
EndUTC
Returns 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.
ForceUpdateToAllAttendees
Returns or sets a Boolean value that indicates whether updates to the AppointmentItem object should be sent to all attendees. Read/write.
GlobalAppointmentID
Returns a String value that represents a unique global identifier for the AppointmentItem object. Read-only.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AppointmentItem object. Read-only.
SendUsingAccount
Returns or sets an Account object that represents the account under which the AppointmentItem is to be sent. Read/write.
StartInStartTimeZone
Returns or sets a Date value that represents the start date and time of the appointment expressed in the AppointmentItem.StartTimeZone . Read/write.
StartTimeZone
Returns or sets a TimeZone value that corresponds to the time zone for the start time of the appointment. Read/write.
StartUTC
Returns 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.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
BlockLevel
Returns an OlAttachmentBlockLevel constant that specifies if there is any restriction on the attachment based on its file extension. Read-only.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Attachment object. Read-only.
Size
Returns a Long indicating the size (in bytes) of the attachment. Read-only.
BusinessCardLayoutXml
Returns or sets a String that represents the XML markup for the layout of the Electronic Business Card. Read/write.
BusinessCardType
Returns an OlBusinessCardType constant that specifies the type of Electronic Business Card used by this contact. Read-only.
ReminderSet
Returns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.
IsMarkedAsTask
Returns a Boolean value that indicates whether the ContactItem is marked as a task. Read-only.
ReminderPlaySound
Returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. Read/write.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent ContactItem object. Read-only.
ReminderOverrideDefault
Returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. Read/write.
ReminderSoundFile
Returns 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.
ReminderTime
Returns or sets a Date indicating the date and time at which the reminder should occur for the specified item. Read/write.
TaskCompletedDate
Returns or sets a Date value that represents the completion date of the task for this ContactItem . Read/write.
TaskDueDate
Returns or sets a Date value that represents the due date of the task for this ContactItem . Read/write.
TaskStartDate
Returns or sets a Date value that represents the start date of the task for this ContactItem object. Read/write.
TaskSubject
Returns or sets a String value that represents the subject of the task for the ContactItem object. Read/write.
ToDoTaskOrdinal
Returns or sets a Date value that represents the ordinal value of the task for the ContactItem . Read/write.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
IsMarkedAsTask
Returns a Boolean value that indicates whether the DistListItem is marked as a task. Read-only.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent DistListItem object. Read-only.
ReminderOverrideDefault
Returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. Read/write.
ReminderPlaySound
Returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. Read/write.
ReminderSet
Returns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.
ReminderSoundFile
Returns 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.
ReminderTime
Returns or sets a Date indicating the date and time at which the reminder should occur for the specified item. Read/write.
TaskCompletedDate
Returns or sets a Date value that represents the completion date of the task for this DistListItem . Read/write.
TaskDueDate
Returns or sets a Date value that represents the due date of the task for this DistListItem . Read/write.
TaskStartDate
Returns or sets a Date value that represents the start date of the task for this DistListItem object. Read/write.
TaskSubject
Returns or sets a String value that represents the subject of the task for the DistListItem object. Read/write.
ToDoTaskOrdinal
Returns or sets a Date value that represents the ordinal value of the task for the DistListItem . Read/write.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
ClearSearch
Clears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer .
Search
Performs a Microsoft Instant Search on the current folder displayed in the Explorer using the given Query.
NewFormRegion
Opens a new page in design mode in the inspector for a new form region.
OpenFormRegion
Opens a page in design mode in the inspector for the specified form region.
SaveFormRegion
Saves the specified page in design mode in the inspector to the specified file.
PageChange
Occurs when the active form page changes, either programmatically or by user action, on an Inspector object.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
IsMarkedAsTask
Returns a Boolean value that indicates whether the MailItem is marked as a task. Read-only.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent MailItem object. Read-only.
SendUsingAccount
Returns or sets an Account object that represents the account under which the MailItem is to be sent. Read/write.
TaskCompletedDate
Returns or sets a Date value that represents the completion date of the task for this MailItem . Read/write.
TaskDueDate
Returns or sets a Date value that represents the due date of the task for this MailItem . Read/write.
TaskStartDate
Returns or sets a Date value that represents the start date of the task for this MailItem object. Read/write.
TaskSubject
Returns or sets a String value that represents the subject of the task for the MailItem object. Read/write.
ToDoTaskOrdinal
Returns or sets a Date value that represents the ordinal value of the task for the MailItem . Read/write.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
Accounts
Returns an Accounts collection object that represents all the Account objects in the current profile. Read-only.
AutoDiscoverConnectionMode
Returns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to the Exchange server for auto-discovery service. Read-only.
AutoDiscoverXml
Returns a String that represents information in XML retrieved from the auto-discovery service of an Exchange server. Read-only.
Categories
Returns or sets a Categories object that represents the set of Category objects available to the namespace. Read/write.
CurrentProfileName
Returns a String representing the name of the current profile. Read-only.
DefaultStore
Returns a Store object representing the default Store for the profile. Read-only.
ExchangeMailboxServerName
Returns a String value that represents the name of the Exchange server on which the active mailbox is hosted. Read-only.
ExchangeMailboxServerVersion
Returns a String value that represents the full version of the Exchange server on which the active mailbox is hosted. Read-only.
Stores
Returns a Stores collection object that represents all the Store objects in the current profile. Read-only.
IsMarkedAsTask
Returns a Boolean value that indicates whether the PostItem is marked as a task. Read-only.
PropertyAccessor
Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent PostItem object. Read-only.
ReminderOverrideDefault
Returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. Read/write.
ReminderPlaySound
Returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. Read/write.
ReminderSet
Returns or sets a Boolean value that is True if a reminder has been set for this item. Read/write.
ReminderSoundFile
Returns 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.
ReminderTime
Returns or sets a Date indicating the date and time at which the reminder should occur for the specified item. Read/write.
TaskCompletedDate
Returns or sets a Date value that represents the completion date of the task for this PostItem . Read/write.
TaskDueDate
Returns or sets a Date value that represents the due date of the task for this PostItem . Read/write.
TaskStartDate
Returns or sets a Date value that represents the start date of the task for this PostItem object. Read/write.
TaskSubject
Returns or sets a String value that represents the subject of the task for the PostItem object. Read/write.
ToDoTaskOrdinal
Returns or sets a Date value that represents the ordinal value of the task for the PostItem . Read/write.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
AttachmentRemove
Occurs when an attachment has been removed from an instance of the parent object.
BeforeAttachmentAdd
Occurs before an attachment is added to an instance of the parent object.
BeforeAttachmentPreview
Occurs before an attachment associated with an instance of the parent object is previewed.
BeforeAttachmentRead
Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
BeforeAttachmentWriteToTempFile
Occurs before an attachment associated with an instance of the parent object is written to a temporary file.
BeforeAutoSave
Occurs before the item is automatically saved by Outlook.
Unload
Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.
Filter
Returns or sets a String value that represents the filter for a view. Read-write.
New Constants
The following constants have been added to existing enumerations in Microsoft Office Outlook 2007.
OlDefaultFolders
olFolderManagedEmail
olFolderRssSubscriptions
olFolderToDo
OlObjectClass
olAccount
olAccountRuleCondition
olAccounts
olAddressRuleCondition
olAssignToCategoryRuleAction
olAttachmentSelection
olAutoFormatRule
olAutoFormatRules
olCalendarModule
olCalendarSharing
olCategories
olCategory
olCategoryRuleCondition
olClassBusinessCardView
olClassCalendarView
olClassCardView
olClassIconView
olClassNavigationPane
olClassTableView
olClassTimeLineView
olClassTimeZone
olClassTimeZones
olColumn
olColumnFormat
olColumns
olContactsModule
olExchangeDistributionList
olExchangeUser
olFormNameRuleCondition
olFormRegion
olFromRssFeedRuleCondition
olFromRuleCondition
olImportanceRuleCondition
olJournalModule
olMailModule
olMarkAsTaskRuleAction
olMoveOrCopyRuleAction
olNavigationFolder
olNavigationFolders
olNavigationGroup
olNavigationGroups
olNavigationModule
olNavigationModules
olNewItemAlertRuleAction
olNotesModule
olOrderField
olOrderFields
olPlaySoundRuleAction
olPropertyAccessor
olRow
olRule
olRuleAction
olRuleActions
olRuleCondition
olRuleConditions
olRules
olSelectNamesDialog
olSenderInAddressListRuleCondition
olSendRuleAction
olSharing
olStorageItem
olStore
olStores
olTable
olTasksModule
olTextRuleCondition
olUserDefinedProperties
olUserDefinedProperty
olViewField
olViewFields
olViewFont
OlPane
olToDoBar
OlSaveAsType
olMHTML
OlUserPropertyType
olEnumeration
olInteger
olSmartFrom
OlViewType
olBusinessCardView
olDailyTaskListView