Partager via


Action Members

Include Protected Members
Include Inherited Members

Represents a specialized action (for example, the voting options response) that can be executed on an Outlook item.

The Action type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property CopyLike Returns or sets an OlActionCopyLike constant indicating the property inheritance style to use for the action. Read/write.
Public property Enabled Returns or sets a Boolean (bool in C#) that is True if the action is enabled in the application. Read/write.
Public property MessageClass Returns or sets a String (string in C#) representing the message class for the Action. Read/write.
Public property Name Returns or sets a String (string in C#) value that represents the display name for the Object. Read/write.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property Prefix Returns or sets a String (string in C#) specifying the prefix (for example, "Re") to use with the subject of the item when the action is executed. Read/write.
Public property ReplyStyle Returns or sets an OlActionReplyStyle constant indicating the text formatting reply style for the specified action. Read/write.
Public property ResponseStyle Returns or sets an OlActionResponseStyle constant indicating the response style used when the specified action is executed. Read/write.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property ShowOn Returns or sets an OlActionShowOn constant representing the location where the action will be shown. Read/write.

Top

Methods

  Name Description
Public method Delete Deletes an object from the collection.
Public method Execute Executes the action for the specified item.

Top

See Also

Reference

Action Interface

Microsoft.Office.Interop.Outlook Namespace