SearchBoxEx.TextBeforeTextBox, propriété (Microsoft.SharePoint.Portal.WebControls)
Gets or sets the text displayed in front of the search box Web Part's query text box.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_QueryTextBoxLabel", "SearchBox_QueryTextBox", "SearchBox_QueryTextBoxLabel_ToolTip")> _
<DefaultValueAttribute("")> _
Public Property TextBeforeTextBox As String
'Utilisation
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; }
Valeur de la propriété
A string that contains the text displayed in front of the query text box.
Voir aussi
Référence
SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms