Share via


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)> _
<ResourcesAttribute("SearchResults_QueryId", "SearchResults_CRQueryOptions",  _
    "SearchResults_QueryId_ToolTip")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property QueryNumber As QueryId
    Get
    Set
'Usage
Dim instance As RefinementWebPart
Dim value As QueryId

value = instance.QueryNumber

instance.QueryNumber = value
[WebBrowsableAttribute(true)]
[ResourcesAttribute("SearchResults_QueryId", "SearchResults_CRQueryOptions", 
    "SearchResults_QueryId_ToolTip")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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