SearchBoxEx.QueryPromptString property

Gets or sets the search box Web Part's query prompt text.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property QueryPromptString As String
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As String

value = instance.QueryPromptString

instance.QueryPromptString = value
public string QueryPromptString { get; set; }

Property value

Type: System.String
A string that contains the query prompt text.

See also

Reference

SearchBoxEx class

SearchBoxEx members

Microsoft.SharePoint.Portal.WebControls namespace