Share via


IXRDependencyObject::RemoveDestroyedEventHandler (Compact 2013)

3/28/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

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,
XRDelegate.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRDependencyObject