BreadcrumbsGetCrumbsJsonScript Method (String, String, CrumbFlags, IAppContext) |
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 NOT support per-window/tab breadcrumbs.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string GetCrumbsJsonScript(
string link,
string text,
CrumbFlags flags,
IAppContext cxt
)
Public Shared Function GetCrumbsJsonScript (
link As String,
text As String,
flags As CrumbFlags,
cxt As IAppContext
) As String
Parameters
- link
- Type: SystemString
The current URL. - text
- Type: SystemString
The caption text for the current URL. - flags
- Type: NetQuarryCrumbFlags
Breadcrumb management flags. - cxt
- Type: NetQuarryIAppContext
The application context.
Return Value
Type:
StringA JSON representation of the breadcrumb path.
See Also