Partilhar via


FormRegionManifest.LoadLegacyForm Property

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 (in Microsoft.Office.Tools.Outlook.dll)

Syntax

'Declaration
Property LoadLegacyForm As Boolean
bool LoadLegacyForm { get; set; }

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 Interface

Microsoft.Office.Tools.Outlook Namespace