ViewExtensions.RenderRoute Method (HtmlHelper, RouteValueDictionary)
Invokes the specified route values.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static void RenderRoute(
this HtmlHelper helper,
RouteValueDictionary routeValues
)
public:
[ExtensionAttribute]
static void RenderRoute(
HtmlHelper^ helper,
RouteValueDictionary^ routeValues
)
static member RenderRoute :
helper:HtmlHelper *
routeValues:RouteValueDictionary -> unit
<ExtensionAttribute>
Public Shared Sub RenderRoute (
helper As HtmlHelper,
routeValues As RouteValueDictionary
)
Parameters
helper
Type: System.Web.Mvc.HtmlHelperThe HTML helper instance that this method extends.
routeValues
Type: System.Web.Routing.RouteValueDictionaryThe route values to invoke.
See Also
ViewExtensions Class
Microsoft.Web.Mvc Namespace
Return to top