_Rule.ExecutionOrder Property

Returns or sets an Integer (int in C#) value that indicates the order of execution of the rule among other rules in the Rules collection. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property ExecutionOrder As Integer
    Get
    Set
'Usage
Dim instance As _Rule
Dim value As Integer

value = instance.ExecutionOrder

instance.ExecutionOrder = value
[DispIdAttribute()]
int ExecutionOrder { get; set; }

Property Value

Type: System.Int32

Remarks

ExecutionOrder is directly mapped with the numerical value of Index in _Rules.Item. For example, Rules.Item(1) represents a rule with ExecutionOrder being 1, Rules.Item(2) represents a rule with ExecutionOrder being 2, and Rules.Item(Rules.Count) represents the rule with ExecutionOrder being _Rules.Count.

See Also

Reference

_Rule Interface

_Rule Members

Microsoft.Office.Interop.Outlook Namespace