• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 44. Understanding Automation > The Outlook Object Model

The Outlook Object Model

An application's object model is a representation of the application's functionality (or a subset of it) as a hierarchy of objects with properties, methods, and events that can be manipulated from code. An object is simply something you work with in an application—in Outlook, that would be folders, items in folders, and the curiously named Explorer and Inspector objects, which are just Outlook's arcane ways of referring to the pane in which you see the contents of a folder (that's the Explorer), or the actual item itself, once you have opened it (that's the Inspector).

When Outlook is open, there is always an Explorer object open, but not necessarily an Inspector object. You can use the technique illustrated in Listing 44.17 to determine what type of active interface object is currently active (Explorer or Inspector), and what type of item it displays.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint