Converts a url in an internal format (f.e. "~/page(guid)" or "~/media(guid)") to a public serveable url (f.e. "/page/subpage").

Namespace: Composite.Core.Routing
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
string ToPublicUrl(
	string internalUrl,
	UrlSpace urlSpace
)
Visual Basic
Function ToPublicUrl ( _
	internalUrl As String, _
	urlSpace As UrlSpace _
) As String
Visual C++
String^ ToPublicUrl(
	String^ internalUrl, 
	UrlSpace^ urlSpace
)

Parameters

internalUrl
Type: System..::..String
An internal url.
urlSpace
Type: Composite.Core.Routing..::..UrlSpace
The target url space.

Return Value

[Missing <returns> documentation for "M:Composite.Core.Routing.IInternalUrlConverter.ToPublicUrl(System.String,Composite.Core.Routing.UrlSpace)"]

See Also