Microsoft Office Tutorials and References
In Depth Information
Microsoft Office Outlook object model overview
Microsoft Office Outlook object
model overview
Programming in Microsoft Office Outlook differs from programming other Microsoft
applications such as InfoPath and Excel. Most of the Microsoft Office applications
target documents rather than data items, but Microsoft Office Outlook targets each
data item stored in the database or the primary data storage used by an Outlook
application. Microsoft Office Outlook stores and manages data items such as emails,
appointments, notes, tasks, and contacts in tables in a structured database.
The Microsoft Office Outlook object model is based on COM Component Object (
Model ) and is used to interact with Outlook form regions, menus, and other
application customization possibilities. It is similar to other Microsoft Office
application object models when thought of with respect to the object model
implementation interfaces for collections, objects, properties, methods, and events.
COM is a language-neutral way of implementing objects that can be used in
different environments.
A large numbers of objects are available for developing and customizing Outlook
2007. If the developer needs to develop application add-ins for Outlook, he or she
can program using the objects provided by the Outlook object model. In the Outlook
object model, the class will represent each object in the UI to the user. For example,
the Microsoft.Office.Interop.Outlook.Application class represents the
entire application, and the Microsoft.Office.Interop.Outlook.MailItem
class represents an email message.
To get used to the object models in Outlook, you should be familiar with some of the
top-level objects. The Application object represents an Outlook application, and it is
the highest level class in the Outlook object model. The Explorer object corresponds
to the window that displays the contents of a folder, and contains Outlook data items
such as email messages, tasks, appointments, and so on. The MAPIFolder object
represents the folder that contains emails, contacts, tasks, and other Outlook data
items. By default, there are sixteen MAPIFolder objects available. The Inspector
object corresponds to a window that displays a single item such as a particular
email message, or a specific contact item.
Search JabSto ::

Custom Search