다음을 통해 공유


WindowSearchCommandOption Constructor

Creates a new instance of a command option for use by the search control for window search.

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

Syntax

‘선언
Public Sub New ( _
    displayText As String, _
    tooltip As String, _
    commandAction As Action _
)
public WindowSearchCommandOption(
    string displayText,
    string tooltip,
    Action commandAction
)

Parameters

  • displayText
    Type: System.String
    The display text for the search option.
  • tooltip
    Type: System.String
    The tooltip text for the search option.
  • commandAction
    Type: System.Action
    The function which performs the option action.

.NET Framework Security

See Also

Reference

WindowSearchCommandOption Class

Microsoft.VisualStudio.PlatformUI Namespace