共用方式為


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);
public Microsoft.Office.Tools.Outlook.IFormRegion CreateFormRegion (Microsoft.Office.Interop.Outlook.FormRegion formRegion);
abstract member CreateFormRegion : Microsoft.Office.Interop.Outlook.FormRegion -> Microsoft.Office.Tools.Outlook.IFormRegion
Public Function CreateFormRegion (formRegion As FormRegion) As IFormRegion

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