FormRegionCustomAction.Method Property
Gets or sets a value that specifies how to respond when the user executes the custom action.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Property Method As FormRegionCustomActionMethod
FormRegionCustomActionMethod Method { get; set; }
Property Value
Type: Microsoft.Office.Tools.Outlook.FormRegionCustomActionMethod
One of the FormRegionCustomActionMethod values that specify how to respond when the user executes the custom action. The default is Open.
Remarks
Use this property to specify whether you want to open a new form, send the form immediately, or prompt the user to open or send the new form.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.