ManagedPropertyFilterGenerator.GetRefinement Method
Gets the refinement XML based on the refinement data.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function GetRefinement ( _
refinedData As Dictionary(Of String, Dictionary(Of String, RefinementDataElement)), _
filterXml As XmlDocument, _
maxFilterCats As Integer _
) As List(Of XmlElement)
'Usage
Dim instance As ManagedPropertyFilterGenerator
Dim refinedData As Dictionary(Of String, Dictionary(Of String, RefinementDataElement))
Dim filterXml As XmlDocument
Dim maxFilterCats As Integer
Dim returnValue As List(Of XmlElement)
returnValue = instance.GetRefinement(refinedData, _
filterXml, maxFilterCats)
public override List<XmlElement> GetRefinement(
Dictionary<string, Dictionary<string, RefinementDataElement>> refinedData,
XmlDocument filterXml,
int maxFilterCats
)
Parameters
refinedData
Type: System.Collections.Generic.Dictionary<String, Dictionary<String, RefinementDataElement>>The refinement data from which the refinement XML is created.
filterXml
Type: System.Xml.XmlDocumentThe final filter XML document.
maxFilterCats
Type: System.Int32The maximum number of filter categories that this generator needs to return.
Return Value
Type: System.Collections.Generic.List<XmlElement>
A list of filter XML elements that is used to construct the refinement panel.
Remarks
This override calculates the refinement XML that is used to construct the refinement panel.
See Also
Reference
ManagedPropertyFilterGenerator Class