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 objet WebApplicationLevel qui représente le niveau du 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 indique comment utiliser la propriété ApplicationLevel. 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())