共用方式為


SearchOptionButton.AddOptionButtonClickedHandler Method

Adds the specified event handler to the specified option button.

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

Syntax

'宣告
Public Shared Sub AddOptionButtonClickedHandler ( _
    d As DependencyObject, _
    handler As RoutedEventHandler _
)
public static void AddOptionButtonClickedHandler(
    DependencyObject d,
    RoutedEventHandler handler
)

Parameters

.NET Framework Security

See Also

Reference

SearchOptionButton Class

Microsoft.VisualStudio.PlatformUI Namespace