GetVirtualPath Method
KalikoCMS.Mvc.Framework Namespace > CmsRoute Class : GetVirtualPath Method |
An object that encapsulates information about the requested route.
An object that contains the parameters for a route.
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.
Syntax
'Declaration
Public Overrides Function GetVirtualPath( _ ByVal requestContext As RequestContext, _ ByVal values As RouteValueDictionary _ ) As VirtualPathData
public override VirtualPathData GetVirtualPath( RequestContext requestContext, RouteValueDictionary values )
Parameters
- requestContext
- An object that encapsulates information about the requested route.
- values
- An object that contains the parameters for a route.
Return Value
An object that contains the generated URL and information about the route, or null if the route does not match values.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2