SearchBoxEx.TextBeforeTextBox property

Gets or sets the text displayed in front of the search box Web Part's query text box.

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

Syntax

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

value = instance.TextBeforeTextBox

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

Property value

Type: System.String
A string that contains the text displayed in front of the query text box.

See also

Reference

SearchBoxEx class

SearchBoxEx members

Microsoft.SharePoint.Portal.WebControls namespace