共用方式為


SearchMRUItemDataSource Class

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

Inheritance Hierarchy

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

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

Syntax

'宣告
Public Class SearchMRUItemDataSource _
    Inherits GelDependencyObject
public class SearchMRUItemDataSource : 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 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 OnDelete Provides class handling for deleting on the most-recently-used (MRU) item data source.
Protected method OnPropertyChanged Microsoft internal use only. (Inherited from GelDependencyObject.)
Protected method OnSelect Provides class handling for selecting on the most-recently-used (MRU) item data source.
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 DeleteVerb
Public fieldStatic member SelectVerb
Public fieldStatic member TextProperty

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