FormRegionInitializingEventArgs Constructor
Initializes a new instance of the FormRegionInitializingEventArgs class.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Sub New ( _
outlookItem As Object, _
formRegionMode As OlFormRegionMode, _
formRegionSize As OlFormRegionSize, _
cancel As Boolean _
)
'Usage
Dim outlookItem As Object
Dim formRegionMode As OlFormRegionMode
Dim formRegionSize As OlFormRegionSize
Dim cancel As Boolean
Dim instance As New FormRegionInitializingEventArgs(outlookItem, _
formRegionMode, formRegionSize, _
cancel)
public FormRegionInitializingEventArgs(
Object outlookItem,
OlFormRegionMode formRegionMode,
OlFormRegionSize formRegionSize,
bool cancel
)
Parameters
- outlookItem
Type: System.Object
The Outlook item that caused the form region to load.
- formRegionMode
Type: Microsoft.Office.Interop.Outlook.OlFormRegionMode
The mode of the Outlook item that caused the form region to load. This mode is represented by the OlFormRegionMode enumeration.
- formRegionSize
Type: Microsoft.Office.Interop.Outlook.OlFormRegionSize
The type of form region that loads. This mode is represented by the OlFormRegionSize enumeration.
- cancel
Type: System.Boolean
A Boolean that indicates whether the form region should appear for outlookItem.
.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.
See Also
Reference
FormRegionInitializingEventArgs Class