System.Web.Configuration.NamespaceCollection Class

Contains a collection of namespace objects. This class cannot be inherited.

See Also: NamespaceCollection Members

Syntax

[System.Configuration.ConfigurationCollection(typeof(System.Web.Configuration.NamespaceInfo), CollectionType=System.Configuration.ConfigurationElementCollectionType.AddRemoveClearMap)]
public sealed class NamespaceCollection : System.Configuration.ConfigurationElementCollection

Remarks

The System.Web.Configuration.NamespaceCollection contains System.Web.Configuration.NamespaceInfo objects. 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.

Requirements

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