This topic has not yet been rated - Rate this topic

IFormRegionFactory.CreateFormRegion Method

Returns an instance of a class that implements the IFormRegion interface.

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
IFormRegion CreateFormRegion(
	FormRegion formRegion
)

Parameters

formRegion
Type: Microsoft.Office.Interop.Outlook.FormRegion
A FormRegion that represents the native form region.

Return Value

Type: Microsoft.Office.Tools.Outlook.IFormRegion
An instance of a class that implements the IFormRegion interface.

If you manually create a form region factory class, you must also create a form region class that implements the IFormRegion interface.

Create an instance of the form region class in the CreateFormRegion method and return the object to Outlook.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ