IFormRegionFactory.CreateFormRegion(FormRegion) Method

Definition

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

public Microsoft.Office.Tools.Outlook.IFormRegion CreateFormRegion (Microsoft.Office.Interop.Outlook.FormRegion formRegion);

Parameters

formRegion
FormRegion

A FormRegion that represents the native form region.

Returns

An instance of a class that implements the IFormRegion interface.

Remarks

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.

Applies to