CoreResultsWebPart.QueryNumber property

Gets or sets the query identifier (ID) for the CoreResultsWebPart Web Part's query.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property QueryNumber As QueryId
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As QueryId

value = instance.QueryNumber

instance.QueryNumber = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public QueryId QueryNumber { get; set; }

Property value

Type: Microsoft.Office.Server.Search.WebControls.QueryId
One of the enumeration values that identify the query.

See also

Reference

CoreResultsWebPart class

CoreResultsWebPart members

Microsoft.Office.Server.Search.WebControls namespace