IXRDependencyObject::RemoveDestroyedEventHandler (Compact 7)
3/12/2014
This method removes an event handler from the Destroyed event, which occurs after all of the references to this dependency object are released.
Syntax
virtual HRESULT STDMETHODCALLTYPE RemoveDestroyedEventHandler(
__in IXRDelegate<XREventArgs>* pDelegate
) = 0;
Parameters
- pDelegate
[in] Pointer to an IXRDelegate<ArgType, [SenderType]> object that represents the event handler method to remove from the Destroyed event.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
Use this method to remove from the Destroyed event an event handler that you added to it using IXRDependencyObject::AddDestroyedEventHandler.
.NET Framework Equivalent
None.
Requirements
Header |
XamlRuntime.h, |
sysgen |
SYSGEN_XAML_RUNTIME |