WindowSearchSimpleFilter Class
Represents a search filter with a default value and a filter field for use by the search control for window search.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.WindowSearchFilter
Microsoft.VisualStudio.PlatformUI.WindowSearchSimpleFilter
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Public NotInheritable Class WindowSearchSimpleFilter _
Inherits WindowSearchFilter _
Implements IVsWindowSearchSimpleFilter, IVsWindowSearchFilter
public sealed class WindowSearchSimpleFilter : WindowSearchFilter,
IVsWindowSearchSimpleFilter, IVsWindowSearchFilter
The WindowSearchSimpleFilter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WindowSearchSimpleFilter | Creates a new instance of a search filter with a default value and a filter field for use by the search control for window search. |
Top
Properties
Name | Description | |
---|---|---|
DefaultFilterValue | Gets or sets the default filter value for the search filter. | |
DisplayText | Gets or sets the display text for the search filter (Inherited from WindowSearchFilter.) | |
FilterField | Gets or sets the filter field value for the search filter. | |
Tooltip | Gets or sets the tooltip text for the search filter (Inherited from WindowSearchFilter.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Search control filters are represented as push buttons in the search control’s popup. When a WindowSearchSimpleFilter button is pressed, the “FilterField:DefaultFilterValue” string is automatically added to the search control search text.
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.