Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebPageRazorHost.VirtualPath Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the virtual file path.

Namespace:  System.Web.WebPages.Razor
Assembly:  System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)

public string VirtualPath { get; private set; }

Property Value

Type: System.String
The virtual file path.
© 2015 Microsoft