FormRegionManifest Constructor (FormRegionManifestIcons, FormRegionCustomActionCollection)
Initializes a new instance of the FormRegionManifest class using the specified icons and custom actions.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Protected Sub New ( _
icons As FormRegionManifestIcons, _
customActions As FormRegionCustomActionCollection _
)
'Usage
Dim icons As FormRegionManifestIcons
Dim customActions As FormRegionCustomActionCollection
Dim instance As New FormRegionManifest(icons, customActions)
protected FormRegionManifest(
FormRegionManifestIcons icons,
FormRegionCustomActionCollection customActions
)
Parameters
- icons
Type: Microsoft.Office.Tools.Outlook.FormRegionManifestIcons
A FormRegionManifestIcons that represents the icons that you want to appear on Outlook Inspectors that display separate, replacement, and replace-all form regions.
- customActions
Type: Microsoft.Office.Tools.Outlook.FormRegionCustomActionCollection
A FormRegionCustomActionCollection that contains all of the custom actions that you want to appear in the Custom Actions group on the Ribbon of the Outlook item that displays the form region.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The icons argument or the customActions argument is nulla null reference (Nothing in Visual Basic). |
Remarks
You can also use the default constructor to create a FormRegionManifest, and then set the Icons and CustomActions properties.
.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.