Share via


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)

Syntax

'Declaration
Public Property VirtualPath As String 
    Get 
    Private Set
'Usage
Dim instance As WebPageRazorHost 
Dim value As String 

value = instance.VirtualPath
public string VirtualPath { get; private set; }
public:
property String^ VirtualPath {
    String^ get ();
    private: void set (String^ value);
}
member VirtualPath : string with get, private set
function get VirtualPath () : String 
private function set VirtualPath (value : String)

Property Value

Type: System.String
The virtual file path.

See Also

Reference

WebPageRazorHost Class

System.Web.WebPages.Razor Namespace