共用方式為


SearchSettingsDataSource.RestartSearchIfUnchanged Property

Gets or sets a flag indicating whether searches will be restarted, even if the search string is not changed, by pressing Enter or selecting a most-recently-used (MRU) item from the list. Default is false; the search will not be restarted.

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

Syntax

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

Property Value

Type: System.Boolean
Returns the flag indicating whether searches will be restarted.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace