共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub New ( _
    displayText As String, _
    tooltip As String, _
    initialValue As Boolean _
)
public WindowSearchBooleanOption(
    string displayText,
    string tooltip,
    bool initialValue
)

Parameters

  • displayText
    Type: System.String
    The display text for the search option.
  • tooltip
    Type: System.String
    The tooltip text for the search option.
  • initialValue
    Type: System.Boolean
    The initial value to return for the search option.

.NET Framework Security

See Also

Reference

WindowSearchBooleanOption Class

WindowSearchBooleanOption Overload

Microsoft.VisualStudio.PlatformUI Namespace