FormRegionCustomAction.Method Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property Method As FormRegionCustomActionMethod
'Usage
Dim instance As FormRegionCustomAction
Dim value As FormRegionCustomActionMethod
value = instance.Method
instance.Method = value
public FormRegionCustomActionMethod Method { get; set; }
public:
property FormRegionCustomActionMethod Method {
FormRegionCustomActionMethod get ();
void set (FormRegionCustomActionMethod value);
}
public function get Method () : FormRegionCustomActionMethod
public function set Method (value : FormRegionCustomActionMethod)
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.