Share via


_AddressRuleCondition.Address Property

Returns or sets an array of String (string in C#) elements to evaluate the address rule condition. Read/write.

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

Syntax

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

value = instance.Address

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

Property Value

Type: System.Object

Remarks

You can assign an array with one element to evaluate a single address or an array of multiple strings to evaluate multiple addresses. Multiple address strings assigned in an array are evaluated using the logical OR operation.

If a string specified by Address is contained in the recipient or sender address, the condition evaluates to True.

See Also

Reference

_AddressRuleCondition Interface

_AddressRuleCondition Members

Microsoft.Office.Interop.Outlook Namespace