Click to Rate and Give Feedback
Visual Studio Tools for Office API Reference
Microsoft.Office.Tools.Outlook Namespace (2007 System)

The Microsoft.Office.Tools.Outlook namespace contains a set of classes and interfaces that enable you to create form regions that customize Microsoft Office Outlook forms.

Form regions are represented by the FormRegionControl and ImportedFormRegion classes. When you add an Outlook Form Region item to an Outlook add-in project, Visual Studio Tools for Office adds a class to the project that inherits from one of these two classes.

If you import a form region into an Outlook add-in project by using the New Outlook Form Region wizard, Visual Studio Tools for Office creates a form region class that inherits from ImportedFormRegion.

If you select Design a new form region on the first page of the New Outlook Form Region wizard, Visual Studio Tools for Office adds a form region class that inherits from FormRegionControl.

In both cases, Visual Studio Tools for Office adds a form region factory class to the project that implements the IFormRegionFactory interface. The form region factory class is responsible for creating new instances of the form region.

The Microsoft.Office.Tools.Outlook namespace also contains classes and attributes that represent the type of form region, the unique name of the form region, the properties that define how the form region appears in Outlook, and the message class names of Outlook items with which the form region is associated.

  ClassDescription
Bb531731.pubclass(en-us,VS.90).gifControlNotFoundException Represents errors that occur when a control is not found in the Microsoft.Vbe.Interop.Forms.UserForm of an imported form region.
Bb531731.pubclass(en-us,VS.90).gifFormRegionControl Represents an Outlook form region that is based on a user control.
Bb531731.pubclass(en-us,VS.90).gifFormRegionCustomAction Represents a custom action that appears in the Custom Actions group on the Ribbon of an Outlook item.
Bb531731.pubclass(en-us,VS.90).gifFormRegionCustomActionCollection Represents a collection of FormRegionCustomAction objects.
Bb531731.pubclass(en-us,VS.90).gifFormRegionInitializingEventArgs Provides data for the FormRegionInitializing event of the form region factory class.
Bb531731.pubclass(en-us,VS.90).gifFormRegionKindConstants Contains constants that specify whether the form region that a form region factory creates is based on a user control or an Outlook Form Storage (.ofs) file.
Bb531731.pubclass(en-us,VS.90).gifFormRegionManifest Represents a form region manifest that describes how the form region appears in Outlook.
Bb531731.pubclass(en-us,VS.90).gifFormRegionManifestIcons Represents a collection of icons that appear for separate, replace, and replace-all form regions.
Bb531731.pubclass(en-us,VS.90).gifFormRegionMessageClassAttribute Represents an attribute that specifies the name of a Microsoft Office Outlook message class to associate with the form region.
Bb531731.pubclass(en-us,VS.90).gifFormRegionNameAttribute Represents the name that uniquely identifies a form region across all Outlook add-ins.
Bb531731.pubclass(en-us,VS.90).gifFormRegionReadOnlyCollection Represents a collection of form regions that are associated with a Microsoft Office Outlook add-in.
Bb531731.pubclass(en-us,VS.90).gifFormRegionStorageNullException Represents an error that occurs when the GetFormRegionStorage method of the form region factory class returns nullNothingnullptra null reference (Nothing in Visual Basic).
Bb531731.pubclass(en-us,VS.90).gifImportedFormRegion Represents a Microsoft Office Outlook form region that is based on an Outlook Form Storage (*.ofs) file.
Bb531731.pubclass(en-us,VS.90).gifInvalidMessageClassException Represents errors that occur when a specified message class name is not valid.
Bb531731.pubclass(en-us,VS.90).gifOutlookAddIn Represents a Microsoft Office Outlook add-in.
  InterfaceDescription
Bb531731.pubinterface(en-us,VS.90).gifIFormRegion Defines an interface that exposes methods that are used by the events of the form region.
Bb531731.pubinterface(en-us,VS.90).gifIFormRegionFactory Defines an interface that creates instances of classes that implement IFormRegion.
  EnumerationDescription
Bb531731.pubenumeration(en-us,VS.90).gifFormRegionCustomActionAddressLike Specifies how to address the target item that appears when the user executes the custom action.
Bb531731.pubenumeration(en-us,VS.90).gifFormRegionCustomActionBody Specifies how the Message or Notes field of an Outlook item is included to the reply that appears when the user executes the custom action.
Bb531731.pubenumeration(en-us,VS.90).gifFormRegionCustomActionMethod Specifies how to respond when the user executes the custom action.
Bb531731.pubenumeration(en-us,VS.90).gifFormRegionType Specifies the way the form region appears in Microsoft Office Outlook.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker