Share via


XRPropertyBag.GetPropertyChangedEvent(IXRCustomEvent <XRPropertyChangedCustomEventArgs,IXRPropertyBag>**) (Compact 2013)

3/28/2014

This method obtains the PropertyChanged event.

Syntax

HRESULT STDMETHODCALLTYPE GetPropertyChangedEvent(
IXRCustomEvent<XRPropertyChangedCustomEventArgs,
IXRPropertyBag> ** ppEvent)

Parameters

Return Value

The following table shows the possible return values.

Value

Description

S_OK

The method was successful.

E_FAIL

The method was unsuccessful.

E_POINTER

The ppEvent parameter is not valid.

Remarks

You must also implement functionality that raises the PropertyChanged event that is stored in the m_pPropertyChangedEvent field when a property value changes.

Requirements

Header

XRPropertyBag.h

See Also

Reference

XRPropertyBag
IXRCustomEvent
XRPropertyChangedCustomEventArgs