SiteMapProviderCollection.Add Method (ProviderBase)
Assembly: System.Web (in System.Web.dll)
The SiteMapProviderCollection is read-only.
The SiteMapProviderCollection object that is returned by the Providers property is read-only. For this reason, you cannot use the Add and AddArray methods to add additional providers programmatically at run time. Therefore, the Add and AddArray methods are used only in scenarios where you manually create site map provider objects and manage them with an instance of the SiteMapProviderCollection class. The method checks the type of the specified provider, and then calls the Add(SiteMapProvider) method to add it to the collection.
Available since 2.0