System.Web.SiteMapProviderCollection Class

Used by the System.Web.SiteMap class to track the set of System.Web.SiteMapProvider objects that are available to the System.Web.SiteMap during site map initialization. This class cannot be inherited.

See Also: SiteMapProviderCollection Members

Syntax

public sealed class SiteMapProviderCollection : System.Configuration.Provider.ProviderCollection

Remarks

The System.Web.SiteMapProviderCollection class is a strongly typed Hashtable collection of System.Web.SiteMapProvider objects. In addition to the two add methods, SiteMapProviderCollection.Add(System.Configuration.Provider.ProviderBase) and SiteMapProviderCollection.Add(SiteMapProvider), the System.Web.SiteMapProviderCollection class supports the SiteMapProviderCollection.AddArray(SiteMapProvider[]) method to add an array of type System.Web.SiteMapProvider.

The System.Web.SiteMapProviderCollection is used by the System.Web.SiteMap class to track the set of System.Web.SiteMapProvider objects that are available to the System.Web.SiteMap during site map initialization. However, the presence of a System.Web.SiteMapProvider in the provider collection does not necessarily mean it is used by a System.Web.SiteMap object, only that it is available for use.

When a System.Web.SiteMapProvider is stored in the System.Web.SiteMapProviderCollection, the System.Configuration.Provider.ProviderBase.Name property is used as the key.

Requirements

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