Share via


FormRegionMessageClassAttribute(String) Constructor

Definition

Initializes a new instance of the FormRegionMessageClassAttribute class.

public:
 FormRegionMessageClassAttribute(System::String ^ messageClass);
public FormRegionMessageClassAttribute (string messageClass);
new Microsoft.Office.Tools.Outlook.FormRegionMessageClassAttribute : string -> Microsoft.Office.Tools.Outlook.FormRegionMessageClassAttribute
Public Sub New (messageClass As String)

Parameters

messageClass
String

The name of a message class.

Exceptions

The messageClass argument is null or is empty.

The messageClass argument is greater than 255 characters in length.

The messageClass argument is invalid. For more information about valid message class names, see Associating a Form Region with an Outlook Message Class.

Applies to