IXRSelector::AddSelectionChangedEventHandler (Compact 2013)
This method attaches a delegate to the SelectionChanged event for this selector object.
virtual HRESULT STDMETHODCALLTYPE AddSelectionChangedEventHandler( _in IXRDelegate<XRSelectionChangedEventArgs>* pDelegate ) = 0;
When the selector object raises the SelectionChanged event, the event subsystem invokes the attached delegate.
Multiple delegates can be attached to the same event.
The ArgType XRSelectionChangedEventArgs structure stores data for a SelectionChanged event that has been raised.
To remove this delegate from the SelectionChanged event, call IXRSelector::RemoveSelectionChangedEventHandler.