HostingEnvironment.ApplicationVirtualPath Eigenschap

Definitie

Hiermee haalt u het virtuele hoofdpad van de toepassing op.

public:
 static property System::String ^ ApplicationVirtualPath { System::String ^ get(); };
public static string ApplicationVirtualPath { get; }
static member ApplicationVirtualPath : string
Public Shared ReadOnly Property ApplicationVirtualPath As String

Waarde van eigenschap

Het virtuele hoofdpad van de toepassing zonder afsluitende slash (/).

Opmerkingen

De ApplicationVirtualPath eigenschap retourneert altijd als/" het eerste teken van de geretourneerde waarde. Als de toepassing zich in de hoofdmap van de website bevindt, is de retourwaarde gewoon '/".

Van toepassing op