Click or drag to resize

FacetGroupHelperLoadFacets Method

Loads facet group

Namespace:  Dynamicweb.Indexing.Querying.Faceting
Assembly:  Dynamicweb.Indexing (in Dynamicweb.Indexing.dll) Version: 5.0.2
Syntax
public static IFacetGroup LoadFacets(
	this IQueryService queryService,
	string fileName,
	RepositoryFileFormat fileFormat
)

Parameters

queryService
Type: Dynamicweb.Indexing.QueryingIQueryService
Query service instance
fileName
Type: SystemString
Path to query file in file system
fileFormat
Type: Dynamicweb.Indexing.Querying.FacetingRepositoryFileFormat
Format of query

Return Value

Type: IFacetGroup
Query facet group

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also