Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IWebApplication Interface
Collapse the table of content
Expand the table of content

IWebApplication Interface

Provides an interface for accessing a Web application in a design host, such as Microsoft Visual Studio 2005, at design time.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[GuidAttribute("cff39fa8-5607-4b6d-86f3-cc80b3cfe2dd")]
public interface IWebApplication : IServiceProvider

The IWebApplication type exposes the following members.

  NameDescription
Public propertyRootProjectItemGets the root project item from the design host.
Top

  NameDescription
Public methodGetProjectItemFromUrlReturns a project item from a design host based on its URL.
Public methodGetServiceGets the service object of the specified type. (Inherited from IServiceProvider.)
Public methodOpenWebConfigurationReturns a Configuration object representing the current Web application in the design host.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft