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
- pDelegate
[in] IXRDelegate<ArgType, [SenderType]> object to remove.
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, |
sysgen |
SYSGEN_XAML_RUNTIME |