Condividi tramite


WindowSearchOption Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    displayText As String, _
    tooltip As String _
)
public WindowSearchOption(
    string displayText,
    string tooltip
)
public:
WindowSearchOption(
    String^ displayText, 
    String^ tooltip
)
new : 
        displayText:string * 
        tooltip:string -> WindowSearchOption
public function WindowSearchOption(
    displayText : String, 
    tooltip : String
)

Parameters

  • displayText
    Type: String

    The display text for the search option

  • tooltip
    Type: String

    The tooltip text for the search option

.NET Framework Security

See Also

Reference

WindowSearchOption Class

Microsoft.VisualStudio.PlatformUI Namespace