Megosztás a következőn keresztül:


OutlookAddIn.FormRegionFactoryResolve Event

Occurs when the add-in loads, and when a form region name that is specified in the registry does not match the name of any form regions defined in the add-in.

Namespace:  Microsoft.Office.Tools.Outlook
Assemblies:   Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
  Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)

Syntax

'Declaration
Event FormRegionFactoryResolve As FormRegionFactoryResolveEventHandler
event FormRegionFactoryResolveEventHandler FormRegionFactoryResolve

Remarks

You can use this event to supply one or more form regions when the add-in loads. You must describe a form region in the registry. For more information about form region registry entries, see Registry Entries for Application-Level Add-Ins.

Ensure that the name that you specify in the registry must not match the name of any form regions defined in the add-in.

In the event handler method, set the FormRegionFactory to an instance of any class that implements the IFormRegionFactory interface.

.NET Framework Security

See Also

Reference

OutlookAddIn Interface

Microsoft.Office.Tools.Outlook Namespace