Factory.CreateFormRegionControl Method
Creates a an instance of a class that implements the FormRegionControl interface.
Namespace: Microsoft.Office.Tools.Outlook
Assemblies: Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Function CreateFormRegionControl ( _
region As FormRegion, _
extension As IExtension _
) As FormRegionControl
FormRegionControl CreateFormRegionControl(
FormRegion region,
IExtension extension
)
Parameters
region
Type: FormRegionA FormRegion that represents the native form region.
extension
Type: Microsoft.Office.Tools.IExtensionAn instance of a class that implements the IExtension interface.
Return Value
Type: Microsoft.Office.Tools.Outlook.FormRegionControl
A FormRegionControl that is based on a user control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.