DocSearchIndexItem.

GetLink(IExecutionContext, bool) Method

Summary

Gets a link to the search item result.
Assembly
Wyam.SearchIndex.dll
Namespace
Wyam.SearchIndex
Containing Type
DocSearchIndexItem

Syntax

public string GetLink(IExecutionContext context, bool includeHost)

Parameters

Name Type Description
context IExecutionContext The current execution context.
includeHost bool true to include the hostname, false otherwise.

Return Value

Type Description
string A link to the search item.
GitHub