次の方法で共有


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

'宣言
Public Property SearchWatermark As String
public string SearchWatermark { get; set; }

Property Value

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

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace