'Declaration Public Shared Sub AddQueryNameForGroupHandler( _ ByVal d As DependencyObject, _ ByVal handler As QueryNameRoutedEventHandler _ )
'Usage Dim d As DependencyObject Dim handler As QueryNameRoutedEventHandler AutomationQueryEvents.AddQueryNameForGroupHandler(d, handler)
public static void AddQueryNameForGroupHandler( DependencyObject d, QueryNameRoutedEventHandler handler )
Parameters
- d
- The dependency object for which the routed event handler is added.
- handler
- The method that will handle the routed event.