Split the virtual path, removing empty components and starting with the first directory under the root of the provider, i.e. make the list provider-root-relative.

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

Syntax

C#
public bool TrySplitVirtualPath(
	string virtualPath,
	out List<string> directories
)

Parameters

virtualPath
Type: System..::.String
The virtual path.
directories
Type: System.Collections.Generic..::.List<(Of <(String>)>) %
The directories.

Return Value

false if the virtualPath was not for this provider, true if a list of directories is returned

See Also