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)

Syntax

'Declaration
Function CreateFormRegion ( _
    formRegion As FormRegion _
) As IFormRegion
IFormRegion CreateFormRegion(
    FormRegion formRegion
)

Parameters

Return Value

Type: Microsoft.Office.Tools.Outlook.IFormRegion
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.

.NET Framework Security

See Also

Reference

IFormRegionFactory Interface

Microsoft.Office.Tools.Outlook Namespace