Partager via


SearchMRUItemDataSource Class

Represents a data source for the most-recently-used (MRU) item for the search control.

Inheritance Hierarchy

Object
  GelDependencyObject
    Microsoft.VisualStudio.PlatformUI.SearchMRUItemDataSource

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

Syntax

'Declaration
Public Class SearchMRUItemDataSource _
    Inherits GelDependencyObject
public class SearchMRUItemDataSource : GelDependencyObject
public ref class SearchMRUItemDataSource : public GelDependencyObject
type SearchMRUItemDataSource =  
    class 
        inherit GelDependencyObject 
    end
public class SearchMRUItemDataSource extends GelDependencyObject

The SearchMRUItemDataSource type exposes the following members.

Constructors

  Name Description
Public method SearchMRUItemDataSource Creates a new instance of the most-recently-used (MRU) search item data source class.

Top

Properties

  Name Description
Public property Text Gets or sets the text attribute of data source for the most-recently-used (MRU) item.

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 OnDelete Provides class handling for deleting on the most-recently-used (MRU) item data source.
Protected method OnSelect Provides class handling for selecting on the most-recently-used (MRU) item data source.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DeleteVerb
Public fieldStatic member SelectVerb
Public fieldStatic member TextProperty

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