RemoteAttribute.GetUrl(ControllerContext) Method

Definition

Gets the URL for the remote validation call.

protected virtual string GetUrl (System.Web.Mvc.ControllerContext controllerContext);
abstract member GetUrl : System.Web.Mvc.ControllerContext -> string
override this.GetUrl : System.Web.Mvc.ControllerContext -> string
Protected Overridable Function GetUrl (controllerContext As ControllerContext) As String

Parameters

controllerContext
ControllerContext

The controller context.

Returns

The URL for the remote validation call.

Applies to