Dela via


FormRegionManifest.LoadLegacyForm Property (2007 System)

Gets or sets a value that indicates whether Outlook loads legacy forms before loading this form region.

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)

Syntax

'Declaration
Public Property LoadLegacyForm As Boolean
'Usage
Dim instance As FormRegionManifest 
Dim value As Boolean 

value = instance.LoadLegacyForm

instance.LoadLegacyForm = value
public bool LoadLegacyForm { get; set; }
public:
property bool LoadLegacyForm {
    bool get ();
    void set (bool value);
}
public function get LoadLegacyForm () : boolean 
public function set LoadLegacyForm (value : boolean)

Property Value

Type: System.Boolean
true if Outlook loads legacy forms before loading this form region; otherwise, false. The default is false.

Exceptions

Exception Condition
InvalidOperationException

Locked is true.

Remarks

If you associate a form region with a custom message class and enable this property, any forms that are designed in Outlook and are associated with the same message class will also load.

This property only affects replacement and replace-all form regions. Enabling this property can cause a slight loss in performance.

.NET Framework Security

See Also

Reference

FormRegionManifest Class

FormRegionManifest Members

Microsoft.Office.Tools.Outlook Namespace