SearchSettingsDataSource.SearchWatermark Property
Gets or sets the value indicating the string to display in the Visual Studio common search control when it is empty and does not have the focus. Default is “Search”.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.String
Returns the watermark string of the search control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.