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