IFormRegionFactory.CreateFormRegion(FormRegion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.