Freigeben über


HttpConfiguration.VirtualPathRoot Property

Gets the root virtual path.

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

Syntax

'Declaration
Public ReadOnly Property VirtualPathRoot As String
    Get
'Usage
Dim instance As HttpConfiguration
Dim value As String

value = instance.VirtualPathRoot
public string VirtualPathRoot { get; }
public:
property String^ VirtualPathRoot {
    String^ get ();
}
member VirtualPathRoot : string
function get VirtualPathRoot () : String

Property Value

Type: System.String
The root virtual path.

Remarks

The VirtualPathRoot property always returns "/" as the first character of the returned value.

See Also

Reference

HttpConfiguration Class

System.Web.Http Namespace