Platform SDK: Exchange Server

PropVal CoClass

The PropVal COM class defines an object used to hold a property value used for conditional comparisons.

CLSID
0C5D91B5-0D1B-11D2-BC12-00C04F8C92F7
ProgID
MSExchange.PropertyValue
Type Library
Microsoft Exchange 5.5 Rules Type Library 1.0 (Rule.dll)
Threading Model
Single-threaded apartment (STA)
Interfaces
The PropVal class exposes the IPropVal dual interface.

Overview

Use the PropVal object to create a CDO property and value for another Condition object to use.

Example

The following example creates a value for when the CdoPR_MESSAGE_CC_ME property (&H0058000B) is True.

const CdoPR_MESSAGE_CC_ME = &H0058000B

Set myPropVal   = CreateObject("MSExchange.PropertyValue")
myPropVal.Tag   = CdoPR_MESSAGE_CC_ME
myPropVAl.Value = True