This documentation is archived and is not being maintained.

IFormRegionFactory.CreateFormRegion Method (FormRegion)

 

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.

Return to top
Show: