AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageHandler..::..GetVirtualPath Method

When overridden in a derived class, checks whether the route matches the specified values, and if so, generates a URL and retrieves information about the route.

Namespace:  AdvantageCMS.Core.Common.BaseClasses.Handler
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public VirtualPathData GetVirtualPath(
	RequestContext requestContext,
	RouteValueDictionary values
)

Parameters

requestContext
Type: RequestContext
An object that encapsulates information about the requested route.
values
Type: RouteValueDictionary
An object that contains the parameters for a route.

Return Value

An object that contains the generated URL and information about the route, or nullNothingnullptra null reference (Nothing in Visual Basic) if the route does not match values.

Exceptions


ExceptionCondition
NotImplementedException