IWebApplication 接口

定义

提供用于在设计时访问设计主机(如 Microsoft Visual Studio 2005)中的 Web 应用程序的接口。

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
属性
实现

属性

RootProjectItem

获取设计宿主中的根项目项。

方法

GetProjectItemFromUrl(String)

从设计宿主中基于 URL 返回一个项目项。

GetService(Type)

获取指定类型的服务对象。

(继承自 IServiceProvider)
OpenWebConfiguration(Boolean)

返回一个 Configuration 对象,表示设计宿主中的当前 Web 应用程序。

适用于

另请参阅