Click or drag to resize

IndexHelperSaveIndex Method

Saves index

Namespace:  Dynamicweb.Indexing
Assembly:  Dynamicweb.Indexing (in Dynamicweb.Indexing.dll) Version: 5.0.2
Syntax
public static void SaveIndex(
	this IIndexService indexService,
	string fileName,
	IIndex index,
	RepositoryFileFormat fileFormat
)

Parameters

indexService
Type: Dynamicweb.IndexingIIndexService
Index service instance
fileName
Type: SystemString
Index file name
index
Type: Dynamicweb.IndexingIIndex
Index instance
fileFormat
Type: Dynamicweb.IndexingRepositoryFileFormat
Index file format

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIndexService. 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