_Rule.Actions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a RuleActions collection object that represents all the available rule actions for the rule. Read-only.
public:
property Microsoft::Office::Interop::Outlook::RuleActions ^ Actions { Microsoft::Office::Interop::Outlook::RuleActions ^ get(); };
public Microsoft.Office.Interop.Outlook.RuleActions Actions { get; }
Public ReadOnly Property Actions As RuleActions
Property Value
Remarks
You can enumerate and enable rules with any rule action that the Rules and Alerts Wizard support, but you can programmatically create rules that have only the most commonly used rule actions, and not any rule action that the Rules and Alerts Wizard supports. For more information on rule action support, see Specify Rule Actions
Through the Actions property, each rule is associated with a RuleActions object. The RuleActions collection is a fixed object - you cannot add or remove items from this collection. Rule actions that are enabled in the rule will have an enabled rule action in the RuleActions collection. Rule actions that are not enabled in the rule will have a rule action in this collection that has the Enabled property set to False. Rule actions that are not supported during programmatic rule creation can only be enumerated in the RuleActions collection for an existing rule, but because the RuleActions collection is fixed, you cannot create a rule and add such an action to the associated RuleActions collection.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應