HttpConfigurationContext

HttpConfigurationContext

System.Web.Configuration (system.web.dll)class

This class supplies the current context information to configuration section handlers in ASP.NET applications. The single VirtualPath property provides the path to the current web.config file that is evaluated, unless it is the root web.config for the site or the machine.config file is being evaluated instead (in which case it will return an empty string).

You don't need to use this class directly in your code.

public class HttpConfigurationContext {
// Public Instance Properties
   public string VirtualPath{get; }
}


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace