WebContext.ApplicationLevel Tulajdonság

Definíció

WebApplicationLevel Lekéri az aktuális webalkalmazás elérési útszintjének megfelelő objektumot.

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

Tulajdonság értéke

Egy WebApplicationLevel objektum.

Példák

Az alábbi példa bemutatja, hogyan használhatja a tulajdonságot ApplicationLevel . Ez a példakód egy nagyobb, az WebContext osztályhoz tartozó példa része.

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

A következőre érvényes: