VirtualFileBase Class
.NET Framework 3.0
Provides the core implementation for the VirtualFile and VirtualDirectory objects. An abstract class, it cannot be instantiated.
Namespace: System.Web.Hosting
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The VirtualFileBase abstract class provides the common methods and properties shared between the VirtualFile and VirtualDirectory objects. Implementations of these classes provide the ASP.NET runtime with access to files and paths used for compilation. For more information on using virtual files and paths, see the VirtualPathProvider class.
Notes to Inheritors: When you inherit from the VirtualFileBase class, you must override the IsDirectory property to indicate whether the derived object is a virtual directory or a virtual file. If you derive from either the VirtualFile or the VirtualDirectory class, the IsDirectory property is already set.- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.Object
System.MarshalByRefObject
System.Web.Hosting.VirtualFileBase
System.Web.Hosting.VirtualDirectory
System.Web.Hosting.VirtualFile
System.MarshalByRefObject
System.Web.Hosting.VirtualFileBase
System.Web.Hosting.VirtualDirectory
System.Web.Hosting.VirtualFile
Community Additions
ADD
Show: