ref: vbMAPI_Property

On this page you'll find:

Overview

Equivalent MAPI object: SPropValue structure
Equivalent Outlook Redemption object: N/A
Equivalent Outlook Object Model object: N/A
Parent: vbMAPI_Properties

Class Description

This object provides low-level access to the MAPI properties of an object.  Use PropTagSymbol member to return a string representing the MAPI PR_ symbol (if known).


Property Get PropTag() As Long

Returns the MAPI property tag that this object represents.  Often used when enumerating the vbMAPI_Properties collection.

Property Get PropTagSymbol() As String

Returns the MAPI property symbol (such as  that this object represents.  Often used when enumerating the vbMAPI_Properties collection.

Property Get Value() As Variant

Property Let Value(ByVal Value As Variant)

Returns/sets the value of this property.  This is the default member of this class, and so is often not explicitly called using the .Value method.

Property Get IsCached() As Boolean

Determines whether or not this property is already cached in memory (e.g. from enumerating the vbMAPI_Properties collection).

Useful when enumerating the vbMAPI_Properties class as you can choose to ignore long data properties that may take extra time to retrieve.  For example, when enumerating properties, long data properties (such as HTML strings) might not be cached in memory until specifically requested, so IsCached may return false.

Property Get Session() As vbMAPI_Session

Returns the session object associated with this object.