WebContext.ApplicationPath Eigenschap

Definitie

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())

Van toepassing op