Partager via


WindowSearchBooleanOption Constructor (String, String, Boolean)

Creates a new instance of a Boolean 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, _
    initialValue As Boolean _
)
public WindowSearchBooleanOption(
    string displayText,
    string tooltip,
    bool initialValue
)
public:
WindowSearchBooleanOption(
    String^ displayText, 
    String^ tooltip, 
    bool initialValue
)
new : 
        displayText:string * 
        tooltip:string * 
        initialValue:bool -> WindowSearchBooleanOption
public function WindowSearchBooleanOption(
    displayText : String, 
    tooltip : String, 
    initialValue : boolean
)

Parameters

  • displayText
    Type: String

    The display text for the search option.

  • tooltip
    Type: String

    The tooltip text for the search option.

  • initialValue
    Type: Boolean

    The initial value to return for the search option.

.NET Framework Security

See Also

Reference

WindowSearchBooleanOption Class

WindowSearchBooleanOption Overload

Microsoft.VisualStudio.PlatformUI Namespace