FormRegionCustomAction Interface

Definition

Represents a custom action that appears in the Custom Actions group on the Ribbon of an Outlook item.

public interface class FormRegionCustomAction
[System.Runtime.InteropServices.Guid("e0f1e721-d4f3-4abf-9e4e-938fa7cd98c3")]
public interface FormRegionCustomAction
[<System.Runtime.InteropServices.Guid("e0f1e721-d4f3-4abf-9e4e-938fa7cd98c3")>]
type FormRegionCustomAction = interface
Public Interface FormRegionCustomAction
Attributes

Remarks

Actions display buttons that enable users to respond to a Microsoft Office Outlook item. You can create a custom action that opens any kind of Outlook item. These actions appear in the Custom Actions group on the Ribbon of an Outlook item.

For more information about custom actions, see Custom Actions in Outlook Form Regions.

Note

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

Usage

This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 or later. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: http://go.microsoft.com/fwlink/?LinkId=160658.

Properties

AddressLike

Gets or sets a value that specifies how to address the form that appears when the user executes the custom action.

Body

Gets or sets a value that specifies how the Message or Notes field of an Outlook item is included in the reply that appears when the user executes the custom action.

Enabled

Gets or sets a value that indicates whether the FormRegionCustomAction is enabled for the form region.

Method

Gets or sets a value that specifies how to respond when the user executes the custom action.

Name

Gets or sets the name of the custom action.

ShowOnRibbon

Gets or sets a value that indicates whether to show the FormRegionCustomAction in the Custom Actions group of the Ribbon that displays the form region.

SubjectPrefix

Gets or sets the text that appears at the beginning of the subject line of the reply.

TargetForm

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

Title

Gets or sets the name that is used to identify the custom action in the Custom Actions group of the Ribbon.

Methods

ToXml()

Returns a string that represents the FormRegionCustomAction as XML.

ToXml(XmlWriter)

Saves the XML representation of the custom action in a string to an XmlTextWriter object.

Applies to