SearchOptionButton.RemoveOptionButtonClickedHandler Method

Removes the specified event handler from the specified option button.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Sub RemoveOptionButtonClickedHandler ( _
    d As DependencyObject, _
    handler As RoutedEventHandler _
)
public static void RemoveOptionButtonClickedHandler(
    DependencyObject d,
    RoutedEventHandler handler
)
public:
static void RemoveOptionButtonClickedHandler(
    DependencyObject^ d, 
    RoutedEventHandler^ handler
)
static member RemoveOptionButtonClickedHandler : 
        d:DependencyObject * 
        handler:RoutedEventHandler -> unit
public static function RemoveOptionButtonClickedHandler(
    d : DependencyObject, 
    handler : RoutedEventHandler
)

Parameters

  • d
    Type: DependencyObject

    The option button.

  • handler
    Type: RoutedEventHandler

    The event handler to remove.

.NET Framework Security

See Also

Reference

SearchOptionButton Class

Microsoft.VisualStudio.PlatformUI Namespace