Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

VirtualEnvironment.RewritePath Method

Rewrites the CurrentVirtualPath, thus also affecting MapPath

[Visual Basic]
Public Shared Sub RewritePath( _
   ByVal newVirtualPath As String, _
   ByVal rebaseClientPath As Boolean _
)
[C#]
public static IDisposable RewritePath(
   string newVirtualPath,
   bool rebaseClientPath
);

See Also

VirtualEnvironment Class | Spring.Util Namespace