TBoundPropertyBase.RaisePropertyChangedEvent (Compact 2013)
3/28/2014
This method raises the PropertyChanged event for the property in the property bag.
Syntax
HRESULT RaisePropertyChangedEvent(void)
Parameters
None.
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 obtain the IXRCustomEvent object that represents the PropertyChanged event by using TPropertyBag.GetPropertyChangedEvent(IXRCustomEvent<XRPropertyChangedCustomEventArgs, IXRPropertyBag>**). |
E_POINTER |
The m_pBag field defined in TBoundPropertyBase<PropertyType,StoreType> is not valid, or the internal IXRCustomEvent parameter was not valid for the internal call to TPropertyBag.GetPropertyChangedEvent(IXRCustomEvent<XRPropertyChangedCustomEventArgs, IXRPropertyBag>**). |
Remarks
RaisePropertyChangedEvent is a protected member of the TBoundPropertyBase<PropertyType,StoreType> class, and therefore is accessible only within its class and by derived classes.
Both the TBoundPropertyBase.Set(const PropertyType&) and TBoundPropertyBase.Set(XRValue *) methods raise the PropertyChanged event to indicate that the property value changed.
Requirements
Header |
XRPropertyBag.h |
See Also
Reference
TBoundPropertyBase<PropertyType,StoreType>
TBoundPropertyBase.Set(const PropertyType&)
TBoundPropertyBase.Set(XRValue *)