FormRegionInitializingEventArgs.OutlookItem Property
Gets the Microsoft Office Outlook item that caused the form region to load.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
ReadOnly Property OutlookItem As Object
Object OutlookItem { get; }
Property Value
Type: System.Object
An Object that represents the Outlook item that caused the form region to load.
Remarks
You must explicitly cast this object. For example, if you know that the Outlook item is a contact item, cast the object returned by the OutlookItem property to a ContactItem.
.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.