WebContext.ApplicationLevel Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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())