Converts from internal, without regard to the context of internal/external URL.

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

Syntax

C#
public override bool ConvertToExternal(
	UrlBuilder url,
	Object internalObject,
	Encoding toEncoding
)

Parameters

url
Type: EPiServer..::.UrlBuilder
The URL.
internalObject
Type: System..::.Object
An optional internal representation of the URL, typically a PageReference
toEncoding
Type: System.Text..::.Encoding
The current encoding

Return Value

true if any modifications were made

Remarks

When converting to external, we may need to change the encoding used for escaped characters in the URL to conform to response encoding requirements which may differ from the internally stored format - which should always be UTF-8.

See Also