WebContext.ApplicationPath Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u het toepassingspad van de huidige webtoepassing op.
public:
property System::String ^ ApplicationPath { System::String ^ get(); };
public string ApplicationPath { get; }
member this.ApplicationPath : string
Public ReadOnly Property ApplicationPath As String
Waarde van eigenschap
Het toepassingspad van de huidige webtoepassing.
Voorbeelden
In het volgende voorbeeld ziet u hoe u de ApplicationPath eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de WebContext klasse.
// WebContext - Application Path.
Console.WriteLine("ApplicationPath: {0}",
webContext.ApplicationPath.ToString());
' WebContext - Application Path.
Console.WriteLine("ApplicationPath: {0}", _
webContext.ApplicationPath.ToString())