Partager via


SearchBoxEx.TextBeforeDropDown, propriété (Microsoft.SharePoint.Portal.WebControls)

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

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDLabel", "SearchBox_ScopeDD", "SearchBox_DDLabel_ToolTip")> _
<DefaultValueAttribute("")> _
Public Property TextBeforeDropDown As String
'Utilisation
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; }

Valeur de la propriété

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

Voir aussi

Référence

SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms