แก้ไข

แชร์ผ่าน


WebContext.ApplicationLevel Property

Definition

Gets a WebApplicationLevel object that represents the path level of the current Web application.

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

Property Value

A WebApplicationLevel object.

Examples

The following example shows how to use the ApplicationLevel property. This code example is part of a larger example provided for the WebContext class.

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

Applies to