Partager via


SearchSettingsDataSource.RestartSearchIfUnchanged Property

Determines 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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property RestartSearchIfUnchanged As Boolean
public bool RestartSearchIfUnchanged { get; set; }
public:
property bool RestartSearchIfUnchanged {
    bool get ();
    void set (bool value);
}
member RestartSearchIfUnchanged : bool with get, set
function get RestartSearchIfUnchanged () : boolean 
function set RestartSearchIfUnchanged (value : boolean)

Property Value

Type: Boolean
true if searches will be restarted.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace