Partager via


IXRCustomEvent::Detach (Compact 2013)

3/28/2014

This method removes an event handler from a custom event.

Syntax

virtual HRESULT STDMETHODCALLTYPE Detach(
    IXRDelegate<ArgType, SenderType>* pDelegate
) = 0;

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You use this method to remove any event handlers that you added to a custom event by using IXRCustomEvent::Attach.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h,
XRDelegate.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRCustomEvent