共用方式為


SearchSettingsDataSource.SearchUseMRU Property

Gets or sets a flag indicating whether the Visual Studio common search control displays most-recently-used (MRU) items in the drop-down list. Default is true; the drop-down list is displayed.

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

Syntax

'宣告
Public Property SearchUseMRU As Boolean
public bool SearchUseMRU { get; set; }

Property Value

Type: System.Boolean
Returns the flag indicating whether the search control displays most-recently-used (MRU) items.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace