Partager via


FormRegionCustomAction.TargetForm Property

Definition

Gets or sets the message class of the form that appears when the user executes the custom action.

public:
 property System::String ^ TargetForm { System::String ^ get(); void set(System::String ^ value); };
public string TargetForm { get; set; }
member this.TargetForm : string with get, set
Public Property TargetForm As String

Property Value

A string that represents the message class of the form that appears when a user executes the custom action.

Exceptions

The value is greater than 256 characters in length.

The value of the string is empty or contains the name of a message class that is not valid.

Remarks

Specify a message class to identify the type of form that you want to appear when the user executes the custom action. For example, if you want the custom action to open a mail item, set the TargetForm property to IPM.Note.

Applies to