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)

public interface IWebApplication : IServiceProvider

The IWebApplication type exposes the following members.

Public propertyRootProjectItemGets the root project item from the design host.

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.

.NET Framework

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