SearchSettingsDataSource::SearchTrimsWhitespaces Property

 

Determines whether the common search control trims whitespace from the beginning and end of the search string before starting a search or adding the item to the most-recently-used (MRU) list. Default is true; whitespace is trimmed from the string before it is used.

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

public:
property bool SearchTrimsWhitespaces {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if whitespace should be trimmed before using the search string.

Return to top
Show: