SearchOptionDataSource Class
Represents a data source for a search option for the search control.
Inheritance Hierarchy
System.Object
Microsoft.Internal.VisualStudio.PlatformUI.GelDependencyObject
Microsoft.VisualStudio.PlatformUI.SearchOptionDataSource
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(GelProperty) | Microsoft internal use only. Gets the value of the given [GelProperty] for this [GelDependencyObject]. (Inherited from GelDependencyObject.) | |
Invoke(String, Object) | Microsoft internal use only. Invokes a given [GelVerb] defined in this [GelDependencyObject]. (Inherited from GelDependencyObject.) | |
Invoke(GelVerb, Object) | Microsoft internal use only. Invokes a given [GelVerb] defined in this [GelDependencyObject]. (Inherited from GelDependencyObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnClose | Microsoft internal use only. (Inherited from GelDependencyObject.) | |
OnPropertyChanged | Microsoft internal use only. (Inherited from GelDependencyObject.) | |
OnSelect | Provides class handling for selecting the search option on the data source or any element derived from it. | |
ResetValue | Microsoft internal use only. Resets the value of the given [GelProperty] for this [GelDependencyObject] to its default value. (Inherited from GelDependencyObject.) | |
SetValue(GelProperty, Boolean) | (Inherited from GelDependencyObject.) | |
SetValue(GelProperty, Object) | Microsoft internal use only. Sets the value of the given [GelProperty] for this [GelDependencyObject]. (Inherited from GelDependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DisplayTextProperty | ||
SelectVerb | ||
TooltipProperty | ||
TypeProperty | ||
ValueProperty |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsUIDataSource.AdvisePropertyChangeEvents | Microsoft internal use only. Registers to be notified when a property changes. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.Close | Microsoft internal use only. Closes this data source. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.EnumProperties | Microsoft internal use only. Returns an enumeration of the available properties. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.EnumVerbs | Microsoft internal use only. Returns an enumeration of verbs for the data source. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.GetShapeIdentifier | Microsoft internal use only. Returns the shape identifier for this data source. Two data sources with the same shape identifier will have exactly the same properties and verbs. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.GetValue | Microsoft internal use only. Returns the value of a property. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.Invoke | Microsoft internal use only. Invokes a verb on the data source. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.QueryValue | Microsoft internal use only. Returns the type, format and value of a property. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.ResetValue | Microsoft internal use only. Sets a property to its default value. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.SetValue | Microsoft internal use only. Sets a property to a value. (Inherited from GelDependencyObject.) | |
IVsUIDataSource.UnadvisePropertyChangeEvents | Microsoft internal use only. Stops receiving notifications when properties change. (Inherited from GelDependencyObject.) | |
IVsUIDispatch.EnumVerbs | Microsoft internal use only. Lists the verbs in a data source. (Inherited from GelDependencyObject.) | |
IVsUIDispatch.Invoke | Microsoft internal use only. Invokes a verb on a data source. (Inherited from GelDependencyObject.) | |
IVsUISimpleDataSource.Close | Microsoft internal use only. Closes the data source. (Inherited from GelDependencyObject.) | |
IVsUISimpleDataSource.EnumVerbs | Microsoft internal use only. Returns a enumeration of verbs for the data source. (Inherited from GelDependencyObject.) | |
IVsUISimpleDataSource.Invoke | Microsoft internal use only. Executes a verb on the data source. (Inherited from GelDependencyObject.) |
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.