GetPropertyModify method

Returns information about the property that is being changed during Modify Before synchronous events.

By retrieving this property from within a Modify Before synchronous event, you can determine which property is changing (propertyID) and its new value. The new property value is only accessible in the before event. After events can access the new value directly via the object property as they are executed after the modifications are committed to the object.

Syntax


C++
HRESULT GetPropertyModify(
   ERUPropertyID* propertyID,
   VARIANT* pValue,
   
VARIANT_BOOL* HasValue,
   VARIANT_BOOL* IsPropChange
)
Scripting languages
This method cannot be called from scripting languages.

Parameters


propertyID

Upon return, the ID of the property that is changing, as an ERUPropertyID enum.

pValue

Upon return, the new value of the property after it changes.

HasValue

Upon return, the current value of the property.

IsPropChange

Upon return, whether the property is changing.

Return value


C++

The return code.

Scripting languages

Not applicable.

Home

Applies to

IERUSynchronousEvent