Rewrites the URL from cached data.
Namespace:
EPiServer.WebAssembly: EPiServer (in EPiServer.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
public abstract bool RewriteFromCachedData( UrlRewriteContext context, ref Object internalObject ) |
Parameters
- context
- Type: EPiServer.Web..::.UrlRewriteContext
The context.
- internalObject
- Type:
System..::.Object
%
The internal object.
Return Value
True if the URL was rewritten, false otherwise.
Remarks
You may optionally return an internal representation of the page in internalObject. This will usually
be a PageReference, but you should always check the type and not assume that it is a PageReference
since internalObject may contain anything depending on the actual CachedUrlHandler implementation.