Compartir a través de


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

'Declaración
Public Class SearchOptionDataSource _
    Inherits GelDependencyObject
public class SearchOptionDataSource : GelDependencyObject

The SearchOptionDataSource type exposes the following members.

Constructors

  Name Description
Public method SearchOptionDataSource Creates a new instance of a search option data source.

Top

Properties

  Name Description
Public property DisplayText Gets or sets the value of the display text for the search option.
Public property Tooltip Gets or sets the value of the tooltip text for the search option.
Public property Type Gets or sets the type (Boolean or command) for the search option.
Public property Value Gets or sets the value for the search option. This property is only valid for Boolean search options.

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.)
Public method GetValue(GelProperty) Microsoft internal use only. Gets the value of the given [GelProperty] for this [GelDependencyObject]. (Inherited from GelDependencyObject.)
Public method Invoke(String, Object) Microsoft internal use only. Invokes a given [GelVerb] defined in this [GelDependencyObject]. (Inherited from GelDependencyObject.)
Public method Invoke(GelVerb, Object) Microsoft internal use only. Invokes a given [GelVerb] defined in this [GelDependencyObject]. (Inherited from GelDependencyObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClose Microsoft internal use only. (Inherited from GelDependencyObject.)
Protected method OnPropertyChanged Microsoft internal use only. (Inherited from GelDependencyObject.)
Protected method OnSelect Provides class handling for selecting the search option on the data source or any element derived from it.
Public method ResetValue Microsoft internal use only. Resets the value of the given [GelProperty] for this [GelDependencyObject] to its default value. (Inherited from GelDependencyObject.)
Public method SetValue(GelProperty, Boolean) (Inherited from GelDependencyObject.)
Public method SetValue(GelProperty, Object) Microsoft internal use only. Sets the value of the given [GelProperty] for this [GelDependencyObject]. (Inherited from GelDependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DisplayTextProperty
Public fieldStatic member SelectVerb
Public fieldStatic member TooltipProperty
Public fieldStatic member TypeProperty
Public fieldStatic member ValueProperty

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsUIDataSource.AdvisePropertyChangeEvents Microsoft internal use only. Registers to be notified when a property changes. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.Close Microsoft internal use only. Closes this data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.EnumProperties Microsoft internal use only. Returns an enumeration of the available properties. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.EnumVerbs Microsoft internal use only. Returns an enumeration of verbs for the data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method 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.)
Explicit interface implemetationPrivate method IVsUIDataSource.GetValue Microsoft internal use only. Returns the value of a property. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.Invoke Microsoft internal use only. Invokes a verb on the data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.QueryValue Microsoft internal use only. Returns the type, format and value of a property. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.ResetValue Microsoft internal use only. Sets a property to its default value. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.SetValue Microsoft internal use only. Sets a property to a value. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDataSource.UnadvisePropertyChangeEvents Microsoft internal use only. Stops receiving notifications when properties change. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDispatch.EnumVerbs Microsoft internal use only. Lists the verbs in a data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUIDispatch.Invoke Microsoft internal use only. Invokes a verb on a data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUISimpleDataSource.Close Microsoft internal use only. Closes the data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method IVsUISimpleDataSource.EnumVerbs Microsoft internal use only. Returns a enumeration of verbs for the data source. (Inherited from GelDependencyObject.)
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace