SearchOptionDataSource Class
Represents a data source for a search option for the search control.
Inheritance Hierarchy
Object
GelDependencyObject
Microsoft.VisualStudio.PlatformUI.SearchOptionDataSource
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Class SearchOptionDataSource _
Inherits GelDependencyObject
public class SearchOptionDataSource : GelDependencyObject
public ref class SearchOptionDataSource : public GelDependencyObject
type SearchOptionDataSource =
class
inherit GelDependencyObject
end
public class SearchOptionDataSource extends GelDependencyObject
The SearchOptionDataSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SearchOptionDataSource | Creates a new instance of a search option data source. |
Top
Properties
Name | Description | |
---|---|---|
DisplayText | Gets or sets the value of the display text for the search option. | |
Tooltip | Gets or sets the value of the tooltip text for the search option. | |
Type | Gets or sets the type (Boolean or command) for the search option. | |
Value | Gets or sets the value for the search option. This property is only valid for Boolean search options. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSelect | Provides class handling for selecting the search option on the data source or any element derived from it. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DisplayTextProperty | ||
SelectVerb | ||
TooltipProperty | ||
TypeProperty | ||
ValueProperty |
Top
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.