다음을 통해 공유


WindowSearchBooleanOption Class

Represents a Boolean option for use by the search control for window search.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.WindowSearchOption
    Microsoft.VisualStudio.PlatformUI.WindowSearchBooleanOption

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

Syntax

‘선언
Public Class WindowSearchBooleanOption _
    Inherits WindowSearchOption _
    Implements IVsWindowSearchBooleanOption, IVsWindowSearchOption
public class WindowSearchBooleanOption : WindowSearchOption, 
    IVsWindowSearchBooleanOption, IVsWindowSearchOption

The WindowSearchBooleanOption type exposes the following members.

Constructors

  Name Description
Public method WindowSearchBooleanOption(String, String, Boolean) Creates a new instance of a Boolean search option for use by the search control for window search.
Public method WindowSearchBooleanOption(String, String, Boolean}, Action<Boolean>)

Top

Properties

  Name Description
Public property DisplayText Gets or sets the display text for the search option. (Inherited from WindowSearchOption.)
Public property Tooltip Gets or sets the tooltip for the search option. (Inherited from WindowSearchOption.)
Public property Value Gets or sets the value of the Boolean option.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Boolean options are represented by check boxes in the search control popup.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace