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

'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: System.Boolean
Returns the flag indicating whether searches will be restarted.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace