Compartilhar via


SearchControlDataSource Class

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

Inheritance Hierarchy

Object
  GelDependencyObject
    Microsoft.VisualStudio.PlatformUI.SearchControlDataSource

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

Syntax

'Declaration
Public Class SearchControlDataSource _
    Inherits GelDependencyObject
public class SearchControlDataSource : GelDependencyObject
public ref class SearchControlDataSource : public GelDependencyObject
type SearchControlDataSource =  
    class 
        inherit GelDependencyObject 
    end
public class SearchControlDataSource extends 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 the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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 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 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 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member AddMRUItemVerb The verb associated with AddMRUItem.
Public fieldStatic member ClearSearchVerb The verb associated with ClearSearch.
Public fieldStatic member HelpTopicProperty The HelpTopic property.
Public fieldStatic member InvokeHelpVerb The verb associated with InvokeHelp.
Public fieldStatic member NotifyNavigationKeyVerb The verb associated with NotifyNavigationKey.
Public fieldStatic member PopulateMRUVerb The verb associated with PopulateMRU.
Public fieldStatic member SearchFiltersProperty The SearchFilters property.
Public fieldStatic member SearchMRUItemsProperty The SearchMRUItems property.
Public fieldStatic member SearchOptionsProperty The SearchOptions property.
Public fieldStatic member SearchProgressProperty The SearchProgress property.
Public fieldStatic member SearchSettingsProperty The SearchSettings property.
Public fieldStatic member SearchStatusProperty The SearchStatus property.
Public fieldStatic member SearchTextProperty The SearchText property.
Public fieldStatic member StartSearchVerb The verb associated with StartSearch.
Public fieldStatic member StopSearchVerb The verb associated with StopSearch.

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