Dela via


FormRegionKindConstants Class (2007 System)

Contains constants that specify whether the form region that a form region factory creates is based on a user control or an Outlook Form Storage (.ofs) file.

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

Syntax

'Declaration
Public NotInheritable Class FormRegionKindConstants
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class FormRegionKindConstants
public ref class FormRegionKindConstants abstract sealed
public final class FormRegionKindConstants

Remarks

If you create a form region in code, return one of these constants in the Kind property of the form region factory class. A form region factory class is any class that you create that implements IFormRegionFactory.

The add-in gets the value of the Kind property to determine what type of form region to create.

If you return WindowsForms in the Kind property, the form region that the form region factory creates must inherit from Control.

If you return Ofs in the Kind property, the form region that the form region factory creates must inherit from ImportedFormRegion.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.Outlook.FormRegionKindConstants

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormRegionKindConstants Members

Microsoft.Office.Tools.Outlook Namespace