Compartir a través de


: SearchBoxEx.QueryPromptString (Propiedad) (Microsoft.SharePoint.Portal.WebControls)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<ResourcesAttribute("SearchBox_QueryPromptString", "SearchBox_QueryTextBox", "SearchBox_QueryPromptString_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute("")> _
Public Property QueryPromptString As String
'Uso
Dim instance As SearchBoxEx
Dim value As String

value = instance.QueryPromptString

instance.QueryPromptString = value
[ResourcesAttribute("SearchBox_QueryPromptString", "SearchBox_QueryTextBox", "SearchBox_QueryPromptString_ToolTip")] 
[WebPartStorageAttribute(Storage.Shared)] 
[DefaultValueAttribute("")] 
public string QueryPromptString { get; set; }

Valor de propiedad

A string that contains the query prompt text.

Vea también

Referencia

SearchBoxEx (Clase)
SearchBoxEx (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)