/
RuleAction.xml
68 lines (68 loc) · 3.9 KB
/
RuleAction.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<Type Name="RuleAction" FullName="Microsoft.Office.Interop.Outlook.RuleAction">
<TypeSignature Language="C#" Value="public interface RuleAction : Microsoft.Office.Interop.Outlook._RuleAction" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract RuleAction implements class Microsoft.Office.Interop.Outlook._RuleAction" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.Outlook.RuleAction" />
<TypeSignature Language="VB.NET" Value="Public Interface RuleAction
Implements _RuleAction" />
<TypeSignature Language="C++ CLI" Value="public interface class RuleAction : Microsoft::Office::Interop::Outlook::_RuleAction" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Outlook</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.Outlook._RuleAction</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Interop.Outlook.RuleActionClass))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("000630CF-0000-0000-C000-000000000046")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an action that is run when a <see cref="T:Microsoft.Office.Interop.Outlook.Rule" /> object executes.</summary>
<remarks>
<para>This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see <see cref="T:Microsoft.Office.Interop.Outlook._RuleAction" />. </para>
<para>
<b>RuleAction</b> is the base class for rule actions that are supported in programmatic rule creation. The classes derived from <b>RuleAction</b> include: </para>
<list type="bullet">
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.AssignToCategoryRuleAction" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.MarkAsTaskRuleAction" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.MoveOrCopyRuleAction" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.NewItemAlertRuleAction" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.PlaySoundRuleAction" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.SendRuleAction" />
</para>
</item>
</list>
<para>The Rules object model provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. It supports the most commonly used rule actions and conditions. Although it does not support creating rules with each rule action or rule condition that the Wizard supports, you can still enumerate and enable these rule actions and conditions in existing rules. </para>
<para>For more information on rule actions, see <a href="http://go.microsoft.com/fwlink/?LinkId=87797">Specify Rule Actions</a><a href="http://go.microsoft.com/fwlink/?LinkId=87859">How to: Create a Rule to Move Specific E-mails to a Folder</a></para>
<para />
</remarks>
</Docs>
<Members />
</Type>