LinkBuilder Class

 

Represents a link builder.

Namespace:   Microsoft.Web.Mvc
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Web.Mvc.LinkBuilder

Syntax

public static class LinkBuilder
public ref class LinkBuilder abstract sealed 
[<AbstractClass>]
[<Sealed>]
type LinkBuilder = class end
Public NotInheritable Class LinkBuilder

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static BuildParameterValuesFromExpression(MethodCallExpression)

Creates a querystring as a Dictionary based on the passed-in Lambda.

System_CAPS_pubmethodSystem_CAPS_static BuildUrlFromExpression<TController>(RequestContext, RouteCollection, Expression<Action<TController>>)

Builds a URL based on the Expression passed in.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Web.Mvc Namespace

Return to top