Share via


_Rule.Name Property

Returns or sets a String (string in C#) representing the name of the rule. Read/write.

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

Syntax

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

value = instance.Name

instance.Name = value
[DispIdAttribute()]
string Name { get; set; }

Property Value

Type: System.String

Remarks

Name is the default property and an indexer for a rule in a Rules collection object. It corresponds to PidTagRuleMsgName (0x65EC001E).

Rule names are not unique among rules in the same collection.

See Also

Reference

_Rule Interface

_Rule Members

Microsoft.Office.Interop.Outlook Namespace