Share via


FriendlyUrl.Href Method

.NET Framework 4

Namespace:  Microsoft.AspNet.FriendlyUrls
Assembly:  Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)

Syntax

'Declaration
Public Shared Function Href ( _
    virtualPath As String, _
    ParamArray segments As Object() _
) As String
'Usage
Dim virtualPath As String 
Dim segments As Object()
Dim returnValue As String 

returnValue = FriendlyUrl.Href(virtualPath, _
    segments)
public static string Href(
    string virtualPath,
    params Object[] segments
)
public:
static String^ Href(
    String^ virtualPath, 
    ... array<Object^>^ segments
)
static member Href : 
        virtualPath:string * 
        segments:Object[] -> string
public static function Href(
    virtualPath : String, 
    ... segments : Object[]
) : String

Parameters

Return Value

Type: System.String

See Also

Reference

FriendlyUrl Class

Microsoft.AspNet.FriendlyUrls Namespace