WebContext.ApplicationLevel Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient un WebApplicationLevel objet qui représente le niveau de chemin d’accès de l’application web actuelle.
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
Valeur de propriété
Objet WebApplicationLevel.
Exemples
L’exemple suivant montre comment utiliser la ApplicationLevel propriété. Cet exemple de code fait partie d’un exemple plus grand fourni pour la WebContext classe.
// WebContext - Application Level.
Console.WriteLine("ApplicationLevel: {0}",
webContext.ApplicationLevel.ToString());
' WebContext - Application Level.
Console.WriteLine("ApplicationLevel: {0}", _
webContext.ApplicationLevel.ToString())