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 應用程式。

適用於

另請參閱