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
Assembly: 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: Microsoft.Office.Interop.Outlook.FormRegion
A FormRegion that represents the native form region.
- extension
Type: Microsoft.Office.Tools.Outlook.IImportedFormRegionExtension
An 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.