IWebApplication Interface
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.
Fournit une interface permettant d’accéder à une application web dans un hôte de conception, tel que Microsoft Visual Studio 2005, au moment du design.
public interface class IWebApplication : IServiceProvider
[System.Runtime.InteropServices.Guid("cff39fa8-5607-4b6d-86f3-cc80b3cfe2dd")]
public interface IWebApplication : IServiceProvider
[<System.Runtime.InteropServices.Guid("cff39fa8-5607-4b6d-86f3-cc80b3cfe2dd")>]
type IWebApplication = interface
interface IServiceProvider
Public Interface IWebApplication
Implements IServiceProvider
- Attributs
- Implémente
Propriétés
| Nom | Description |
|---|---|
| RootProjectItem |
Obtient l’élément de projet racine de l’hôte de conception. |
Méthodes
| Nom | Description |
|---|---|
| GetProjectItemFromUrl(String) |
Retourne un élément de projet à partir d’un hôte de conception basé sur son URL. |
| GetService(Type) |
Obtient l’objet de service du type spécifié. (Hérité de IServiceProvider) |
| OpenWebConfiguration(Boolean) |
Retourne un Configuration objet représentant l’application web actuelle dans l’hôte de conception. |