VirtualFileBase.IsDirectory Property

 

When overridden in a derived class, gets a value indicating whether the VirtualFileBase instance represents a virtual file or a virtual directory.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public abstract bool IsDirectory { get; }

Property Value

Type: System.Boolean

true if the VirtualFileBase instance is a virtual directory; otherwise, false if the VirtualFileBase instance is a virtual file.

.NET Framework
Available since 2.0
Return to top
Show: