Factory.CreateImportedFormRegion Method
Creates a Microsoft Office Outlook form region that is based on an Outlook Form Storage (*.ofs) file.
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 CreateImportedFormRegion ( _
region As FormRegion, _
extension As IImportedFormRegionExtension _
) As ImportedFormRegion
ImportedFormRegion CreateImportedFormRegion(
FormRegion region,
IImportedFormRegionExtension extension
)
Parameters
region
Type: FormRegionA FormRegion that represents the native form region.
extension
Type: Microsoft.Office.Tools.Outlook.IImportedFormRegionExtensionAn instance of a class that implements the IImportedFormRegionExtension interface.
Return Value
Type: Microsoft.Office.Tools.Outlook.ImportedFormRegion
A ImportedFormRegion that represents a form region that is based on an Outlook Form Storage (*.ofs) file.
.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.