Share via


RefinementWebPart.GetXPathNavigator Method

Generates the XMLNavigator object that contains the results from the underlying query.

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

Syntax

'Declaration
Protected Overrides Function GetXPathNavigator ( _
    viewPath As String _
) As XPathNavigator
'Usage
Dim viewPath As String
Dim returnValue As XPathNavigator

returnValue = Me.GetXPathNavigator(viewPath)
protected override XPathNavigator GetXPathNavigator(
    string viewPath
)

Parameters

Return Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator object for the Search results.

Remarks

This override creates the XPathNavigator object that contains the Search results from the underlying query.

This method returns null if the value of the NumberOfCharsToDisplay or the DisplayedCategories property is less than or equal to 0.

See Also

Reference

RefinementWebPart Class

RefinementWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace