Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IVirtualEnvironment.RewritePath Method

Rewrites the CurrentVirtualPath, thus also affecting MapPath

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

See Also

IVirtualEnvironment Interface | Spring.Util Namespace