Partilhar via


RefinementManager.GetRefinementXml Method

Gets the final filtered XML document.

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

Syntax

'Declaration
Public Function GetRefinementXml As XmlDocument
'Usage
Dim instance As RefinementManager
Dim returnValue As XmlDocument

returnValue = instance.GetRefinementXml()
public XmlDocument GetRefinementXml()

Return Value

Type: System.Xml.XmlDocument
The final filtered XML document.

Remarks

This method triggers the query to run if it has not been run yet, then analyzes the top results from the query and merges the filters recommended by the filter generators to produce the final filtered XML document.

This method returns null if the IsInitialized property is false or the ParentWebPart property or that property’s Page property is null .

See Also

Reference

RefinementManager Class

RefinementManager Members

Microsoft.Office.Server.Search.WebControls Namespace