RefinementWebPart.QueryNumber property

Gets or sets the query ID for the refinement Web Part.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("SearchResults_QueryId", "SearchResults_CRQueryOptions",  _
    "SearchResults_QueryId_ToolTip")> _
Public Property QueryNumber As QueryId
    Get
    Set
'Usage
Dim instance As RefinementWebPart
Dim value As QueryId

value = instance.QueryNumber

instance.QueryNumber = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_QueryId", "SearchResults_CRQueryOptions", 
    "SearchResults_QueryId_ToolTip")]
public QueryId QueryNumber { get; set; }

Property value

Type: Microsoft.Office.Server.Search.WebControls.QueryId
One of the enumeration values that indicates the query ID for the refinement Web Part.

Remarks

Result Web Parts with the same query ID will interact with each other and display data from the same query.

See also

Reference

RefinementWebPart class

RefinementWebPart members

Microsoft.Office.Server.Search.WebControls namespace