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