System.Web.Configuration.NamespaceInfo Class

Contains a single configuration namespace reference, similar to the Import directive. This class cannot be inherited.

See Also: NamespaceInfo Members


public sealed class NamespaceInfo : System.Configuration.ConfigurationElement


The System.Web.Configuration.NamespaceCollection contains System.Web.Configuration.NamespaceInfo objects, which correspond to the add elements within the namespaces section. Each System.Web.Configuration.NamespaceInfo object is the same as an Import (<%@ Import %>) directive that applies to all pages and controls in the scope of the configuration file. The Import directive allows you to import a namespace into your ASP.NET page, making all its classes available for use on your page.


Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0