Partager via


_TextRuleCondition.Text Property

Returns or sets an array of String (string in C#) elements that represents the text to be evaluated by the rule condition. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property Text As Object
    Get
    Set
'Usage
Dim instance As _TextRuleCondition
Dim value As Object

value = instance.Text

instance.Text = value
[DispIdAttribute()]
Object Text { get; set; }

Property Value

Type: System.Object

Remarks

You can assign an array with one string or multiple strings for evaluation. Multiple text strings assigned in an array are evaluated using the logical OR operation.

See Also

Reference

_TextRuleCondition Interface

_TextRuleCondition Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Rule to Assign Categories to Mail Items Based on Multiple Words in the Subject