: SearchBoxEx.TextBeforeTextBox (Propiedad) (Microsoft.SharePoint.Portal.WebControls)
Gets or sets the text displayed in front of the search box Web Part's query text box.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_QueryTextBoxLabel", "SearchBox_QueryTextBox", "SearchBox_QueryTextBoxLabel_ToolTip")> _
<DefaultValueAttribute("")> _
Public Property TextBeforeTextBox As String
'Uso
Dim instance As SearchBoxEx
Dim value As String
value = instance.TextBeforeTextBox
instance.TextBeforeTextBox = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_QueryTextBoxLabel", "SearchBox_QueryTextBox", "SearchBox_QueryTextBoxLabel_ToolTip")]
[DefaultValueAttribute("")]
public string TextBeforeTextBox { get; set; }
Valor de propiedad
A string that contains the text displayed in front of the query text box.
Vea también
Referencia
SearchBoxEx (Clase)
SearchBoxEx (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)