Converts from internal EPiServer classic to the external 'friendly' URL representation. This is the only method that defines this mapping. It includes all globally valid rules for this transformation in the context of EPiServer, but not rules dependent on for example on the current running mode, i.e. view mode, edit mode etc or similar. The conversion must take language preferences into account when determining language.

Namespace:  EPiServer.Web
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual bool ConvertToExternalInternal(
	UrlBuilder url,
	Object internalObject,
	Encoding toEncoding
)

Parameters

url
Type: EPiServer..::.UrlBuilder
The URL.
internalObject
Type: System..::.Object
The internal representation of the object, if any. Typically it may be a PageReference.
toEncoding
Type: System.Text..::.Encoding
To encoding.

Return Value

See Also