次の方法で共有


SearchControlDataSource Class

Represents the data source class for the Visual Studio common search control.

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.GelDependencyObject
    Microsoft.VisualStudio.PlatformUI.SearchControlDataSource

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

Syntax

'宣言
Public Class SearchControlDataSource _
    Inherits GelDependencyObject
public class SearchControlDataSource : GelDependencyObject

The SearchControlDataSource type exposes the following members.

Constructors

  Name Description
Public method SearchControlDataSource Creates a new instance of the search control data source class.

Top

Properties

  Name Description
Public property HelpTopic Gets or sets the help topic attribute of the search control data source.
Public property SearchFilters Gets or sets the collection search filters for the search control data source.
Public property SearchMRUItems Gets or sets the collection most-recently-used (MRU) items for the search control data source.
Public property SearchOptions Gets or sets the collection of search options for the search control data source.
Public property SearchProgress Gets or sets the search progress value for the search control data source.
Public property SearchSettings Gets or sets the search settings data source for the search control data source.
Public property SearchStatus Gets or sets the search status of the search control data source.
Public property SearchText Gets or sets the search text for the search control data source.

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 OnAddMRUItem Provides class handling for adding to the most-recently-used (MRU) item collection on the data source or any element derived from it.
Protected method OnClearSearch Provides class handling for clearing the search on the data source or any element derived from it.
Protected method OnClose Microsoft internal use only. (Inherited from GelDependencyObject.)
Protected method OnInvokeHelp Provides class handling for invoking topic help on the data source or any element derived from it.
Protected method OnNotifyNavigationKey Provides class handling for the search control data source to intercept specific key presses for navigation between the results already found.
Protected method OnPopulateMRU Provides class handling for populating the most-recently-used (MRU) item collection on the data source or any element derived from it.
Protected method OnPropertyChanged Microsoft internal use only. (Inherited from GelDependencyObject.)
Protected method OnStartSearch Provides class handling for starting a search on the data source or any element derived from it.
Protected method OnStopSearch Provides class handling for stopping a search 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 AddMRUItemVerb
Public fieldStatic member ClearSearchVerb
Public fieldStatic member HelpTopicProperty
Public fieldStatic member InvokeHelpVerb
Public fieldStatic member NotifyNavigationKeyVerb
Public fieldStatic member PopulateMRUVerb
Public fieldStatic member SearchFiltersProperty
Public fieldStatic member SearchMRUItemsProperty
Public fieldStatic member SearchOptionsProperty
Public fieldStatic member SearchProgressProperty
Public fieldStatic member SearchSettingsProperty
Public fieldStatic member SearchStatusProperty
Public fieldStatic member SearchTextProperty
Public fieldStatic member StartSearchVerb
Public fieldStatic member StopSearchVerb

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