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
Property Name As String
    Get
    Set
'Usage
Dim instance As _Rule
Dim value As String

value = instance.Name

instance.Name = value
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 PR_RuleMsgName (0x65EC001E).

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

See Also

Reference

_Rule Interface

_Rule Members

Microsoft.Office.Interop.Outlook Namespace