TPropertyBag.GetPropertyChangedEvent(IXRCustomEvent<XRPropertyChangedCustomEventArgs, IXRPropertyBag>**) (Compact 7)
3/12/2014
This method obtains the PropertyChanged event that a property raises when its value changes.
Syntax
HRESULT STDMETHODCALLTYPE GetPropertyChangedEvent(
IXRCustomEvent<XRPropertyChangedCustomEventArgs, IXRPropertyBag>* * ppEvent)
Parameters
- ppEvent
[out] A pointer to an IXRCustomEvent event object that is the PropertyChanged event.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
The method was successful. |
E_FAIL |
The method was unable to evaluate the |
E_POINTER |
The ppEvent parameter is not valid. |
Remarks
After you obtain the PropertyChanged event object, you can attach an event handler to it by calling IXRCustomEvent::Attach. To raise the PropertyChanged event, call IXRCustomEvent::Raise.
Requirements
Header |
XRPropertyBag.h |