Compartilhar via


SearchSettingsDataSource.SearchTrimsWhitespaces Property

Gets or sets the flag indicating whether the Visual Studio 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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Property SearchTrimsWhitespaces As Boolean
public bool SearchTrimsWhitespaces { get; set; }

Property Value

Type: System.Boolean
Returns the flag indicating whether to trim whitespace before using the search string.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace