Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractResource.File Property

Returns a FileInfo handle for this resource.

[Visual Basic]
Public Overridable ReadOnly Property File() As FileInfo _
    Implements IResource.File

   Public Get
   End Get
End Property
[C#]
public virtual FileInfo File { public get; }

Property Value

The FileInfo handle for this resource.

Implements

IResource.File

Remarks

This, the default implementation, always throws a FileNotFoundException, assuming that the resource cannot be resolved to an absolute file path.

Exceptions

Exception Type Condition
FileNotFoundException This implementation always throws a FileNotFoundException.

See Also

AbstractResource Class | Spring.Core.IO Namespace | IResource