WebContext.ApplicationLevel Egenskap

Definition

Hämtar ett WebApplicationLevel objekt som representerar sökvägsnivån för det aktuella webbprogrammet.

public:
 property System::Web::Configuration::WebApplicationLevel ApplicationLevel { System::Web::Configuration::WebApplicationLevel get(); };
public System.Web.Configuration.WebApplicationLevel ApplicationLevel { get; }
member this.ApplicationLevel : System.Web.Configuration.WebApplicationLevel
Public ReadOnly Property ApplicationLevel As WebApplicationLevel

Egenskapsvärde

Ett WebApplicationLevel objekt.

Exempel

I följande exempel visas hur du använder egenskapen ApplicationLevel . Det här kodexemplet är en del av ett större exempel för WebContext klassen.

// WebContext - Application Level.
Console.WriteLine("ApplicationLevel: {0}", 
  webContext.ApplicationLevel.ToString());
' WebContext - Application Level.
Console.WriteLine("ApplicationLevel: {0}", _
  webContext.ApplicationLevel.ToString())

Gäller för