Click or drag to resize

IndexHelperLoadIndex Method

Loads index

Namespace:  Dynamicweb.Indexing
Assembly:  Dynamicweb.Indexing (in Dynamicweb.Indexing.dll) Version: 5.0.2
Syntax
public static IIndex LoadIndex(
	this IIndexService indexService,
	string filename,
	RepositoryFileFormat fileFormat
)

Parameters

indexService
Type: Dynamicweb.IndexingIIndexService
Index service instance
filename
Type: SystemString
Index file name
fileFormat
Type: Dynamicweb.IndexingRepositoryFileFormat
Index file format

Return Value

Type: IIndex
Index object instance

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