Share via


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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property QueryNumber As QueryId
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As QueryId

value = instance.QueryNumber

instance.QueryNumber = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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