다음을 통해 공유


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