Share via


FriendlyUrl.Resolve Method

.NET Framework 4

Resolves a file handler virtual path to a friendly URL using the registered resolvers.

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

Syntax

'Declaration
Public Shared Function Resolve ( _
    virtualPath As String _
) As String
'Usage
Dim virtualPath As String 
Dim returnValue As String 

returnValue = FriendlyUrl.Resolve(virtualPath)
public static string Resolve(
    string virtualPath
)
public:
static String^ Resolve(
    String^ virtualPath
)
static member Resolve : 
        virtualPath:string -> string
public static function Resolve(
    virtualPath : String
) : String

Parameters

Return Value

Type: System.String
The friendly URL.

See Also

Reference

FriendlyUrl Class

Microsoft.AspNet.FriendlyUrls Namespace