UrlHelper.IsLocalUrl(String) Method

Definition

Returns a value that indicates whether the URL is local.

public virtual bool IsLocalUrl (string url);
abstract member IsLocalUrl : string -> bool
override this.IsLocalUrl : string -> bool
Public Overridable Function IsLocalUrl (url As String) As Boolean

Parameters

url
String

The URL.

Returns

true if the URL is local; otherwise, false.

Applies to