Compartir a través de


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

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

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

Sintaxis

'Declaración
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDLabel", "SearchBox_ScopeDD", "SearchBox_DDLabel_ToolTip")> _
<DefaultValueAttribute("")> _
Public Property TextBeforeDropDown As String
'Uso
Dim instance As SearchBoxEx
Dim value As String

value = instance.TextBeforeDropDown

instance.TextBeforeDropDown = value
[BrowsableAttribute(true)] 
[WebPartStorageAttribute(Storage.Shared)] 
[ResourcesAttribute("SearchBox_DDLabel", "SearchBox_ScopeDD", "SearchBox_DDLabel_ToolTip")] 
[DefaultValueAttribute("")] 
public string TextBeforeDropDown { get; set; }

Valor de propiedad

A string that contains the text displayed in front of the scopes dropdown.

Vea también

Referencia

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