Compartilhar via


SearchSettingsDataSource.SearchWatermark Property

Gets or sets the string to display in the common search control when it is empty and does not have the focus. Default is “Search”.

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

Syntax

'Declaration
Public Property SearchWatermark As String
public string SearchWatermark { get; set; }
public:
property String^ SearchWatermark {
    String^ get ();
    void set (String^ value);
}
member SearchWatermark : string with get, set
function get SearchWatermark () : String 
function set SearchWatermark (value : String)

Property Value

Type: String
Returns the watermark string of the search control.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace