Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UrlHelper.IsLocalUrl Method (String)

 

Returns a value that indicates whether the URL is local.

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

Public Overridable Function IsLocalUrl (
	url As String
) As Boolean

Parameters

url
Type: System.String

The URL.

Return Value

Type: System.Boolean

true if the URL is local; otherwise, false.

Return to top
Show:
© 2015 Microsoft