Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IResource.CreateRelative Method

Creates a resource relative to this resource.

[Visual Basic]
Public Sub CreateRelative( _
   ByVal relativePath As String _
IResource CreateRelative(
   string relativePath


The path (always resolved as relative to this resource).

Return Value

The relative resource.


Exception Type Condition
IOException If the relative resource could not be created from the supplied path.
NotSupportedException If the resource does not support the notion of a relative path.

See Also

IResource Interface | Spring.Core.IO Namespace