VirtualFileBase::VirtualPath Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the virtual file path.

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

property String^ VirtualPath {
	String^ get();

Property Value

Type: System::String^

The path to the virtual file.

The VirtualPath property returns the path to the file or directory represented by this object.

.NET Framework
Available since 2.0
Return to top