HelperPage.Href(String, Object[]) Method

Definition

Builds an absolute URL from an application-relative URL by using the specified parameters.

public static string Href (string path, params object[] pathParts);
static member Href : string * obj[] -> string
Public Shared Function Href (path As String, ParamArray pathParts As Object()) As String

Parameters

path
String

The initial path to use in the URL.

pathParts
Object[]

Additional path information, such as folders and subfolders.

Returns

The absolute URL.

Applies to