Condividi tramite


SearchSettingsDataSource.MaximumMRUItems Property

Gets or sets the value indicating the maximum number of most-recently-used (MRU) items to show in the drop-down list of the common search control. Default is 5 items.

.

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

Syntax

'Declaration
Public Property MaximumMRUItems As UInteger
public uint MaximumMRUItems { get; set; }
public:
property unsigned int MaximumMRUItems {
    unsigned int get ();
    void set (unsigned int value);
}
member MaximumMRUItems : uint32 with get, set
function get MaximumMRUItems () : uint 
function set MaximumMRUItems (value : uint)

Property Value

Type: UInt32
Returns the maximum number of MRU items in the popup of the search control.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace