Gets the provider-relative virtual path.

Namespace:  EPiServer.Web.Hosting
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
public bool TryToRelative(
	string virtualPath,
	out string relativePath
)

Parameters

virtualPath
Type: System..::.String
The virtual path.
relativePath
Type: System..::.String %
A path that is relative to the provider root, never starting with "/", or null

Return Value

false if the virtualPath was not for this provider, true if a provider-relative path was returned.

See Also