This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see FormRegion.
public interface class _FormRegion
[System.Runtime.InteropServices.Guid("0006305A-0000-0000-C000-000000000046")] public interface _FormRegion
Public Interface _FormRegion
|Application Application Application||
Returns an Application object that represents the parent Outlook application for the object. Read-only.
|Class Class Class||
Returns an OlObjectClass constant indicating the object's class. Read-only.
|Detail Detail Detail||
Returns or sets a String (string in C#) representing the text displayed at runtime in the header after the display name of an adjoining form region. Read/write.
|DisplayName DisplayName DisplayName||
Returns a String (string in C#) representing the display name of the form region. Read-only.
|EnableAutoLayout EnableAutoLayout EnableAutoLayout||
Returns or sets a Boolean (bool in C#) that specifies whether to use the automatic layout resizing feature when designing form regions in the forms designer. Read/write
|Form Form Form||
Returns an Object representing the MSForms.UserForm object. Read-only.
|FormRegionMode FormRegionMode FormRegionMode||
Returns an OlFormRegionMode constant that indicates whether the form region is in a read page, compose page, or Reading Pane. Read-only.
|Inspector Inspector Inspector||
Returns an Inspector object representing the Inspector that hosts the form region. Read-only.
|InternalName InternalName InternalName||
Returns a String (string in C#) that represents the internal programmatic name of the form region as defined in the manifest for the form region. Read-only.
|IsExpanded IsExpanded IsExpanded||
Returns a Boolean (bool in C#) that indicates if the form region is expanded. Read-only.
|Item Item Item||
Returns an Object corresponding to the Outlook item bound to the form region. Read-only.
|Language Language Language||
Returns an Integer (int in C#) value that indicates the LCID for the current language. Read-only.
|Parent Parent Parent||
Returns the parent Object of the form region. Read-only.
|Session Session Session||
Returns the NameSpace object for the current session. Read-only.
|SuppressControlReplacement SuppressControlReplacement SuppressControlReplacement||
Returns or sets a Boolean (bool in C#) that disables Outlook from automatically replacing a Forms 2.0 control by a themed Outlook control at design time and runtime. Read/write.
|Visible Visible Visible||
Returns or sets a Boolean (bool for C#) value that indicates whether the form region is visible or hidden. Read/write.
|Reflow() Reflow() Reflow()||
Causes Outlook to recalculate the height of an adjoining form region to display all the visible controls in the form region.
|Select() Select() Select()||
Makes the form region the active form region such that it becomes visible.
|SetControlItemProperty(Object, String) SetControlItemProperty(Object, String) SetControlItemProperty(Object, String)||
Binds an explicit built-in property or a custom property to a control in the form region.