Platform SDK: Exchange Server

IPropVal::Tag Property

Specifies the CDO property tag.

IDL Definition

[propget] HRESULT Tag([out, retval] long *pVal) 
[propput] HRESULT Tag([in] long newVal)

Visual Basic Definition

Property Tag As Long

Remarks

The value of the Tag property must match the value of the associated PropertyCondition object's PropertyTag property. If not, the property assignment will fail, returning the exception (HRESULT) E_INVALIDARG.

For a list of CDO property tags, see the Property Tags appendix in the Collaboration Data Objects topic under the Database and Messaging Services section of the Platform SDK.