Click or drag to resize

FacetGroupHelperSaveFacets Method

Saves facet group

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

Parameters

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

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