Click or drag to resize

BreadcrumbsGetCrumbsJsonScript Method (IAppContext, String, String, CrumbFlags, String)

Gets a JSON string representing a breadcrumb path. Before constructing a standard platform breadcrumb trail, the ApplicationBreadcrumbs event is fired to give the application an opportunity to construct a custom breadcrumb trail. If the event handler returns a DataChanged result then the Breadcrumbs will be used instead of the standard breadcrumbs. See Breadcrumbs(IAppContext, BreadcrumbsEventArgs) for more information. Note that this overload DOES support per-window/tab breadcrumbs if a tabID is provided.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string GetCrumbsJsonScript(
	IAppContext cxt,
	string link,
	string text,
	CrumbFlags flags,
	string tabID
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
link
Type: SystemString
The current URL.
text
Type: SystemString
The caption text for the current URL.
flags
Type: NetQuarryCrumbFlags
Breadcrumb management flags.
tabID
Type: SystemString
The current window/tab identifier, may be null/empty.

Return Value

Type: String
A JSON representation of the breadcrumb path.
See Also