Share via


DataResultBase.TextForNoResults property

The text displayed when no query results are returned. The initial value is "", no string will be displayed. But QueryResultBase sets the value to be the default standard warning string.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property TextForNoResults As String
    Get
    Set
'Usage
Dim instance As DataResultBase
Dim value As String

value = instance.TextForNoResults

instance.TextForNoResults = value
public string TextForNoResults { get; set; }

Property value

Type: System.String

See also

Reference

DataResultBase class

DataResultBase members

Microsoft.SharePoint.Portal.WebControls namespace