Assembly: System.Web (in System.Web.dll)
Gets the number of providers in the collection.(Inherited from ProviderCollection.)
Gets a value indicating whether access to the collection is synchronized (thread safe).(Inherited from ProviderCollection.)
Gets a SiteMapProvider object with a specific name from the provider collection.
Gets the current object.(Inherited from ProviderCollection.)
Removes all items from the collection.(Inherited from ProviderCollection.)
Copies the contents of the collection to the given array starting at the specified index.(Inherited from ProviderCollection.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Removes a provider from the collection.(Inherited from ProviderCollection.)
Sets the collection to be read-only.(Inherited from ProviderCollection.)
Returns a string that represents the current object.(Inherited from Object.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
The Hashtable collection of SiteMapProvider objects. In addition to the two add methods, Add(ProviderBase) and Add(SiteMapProvider), the class supports the AddArray method to add an array of type SiteMapProvider.class is a strongly typed
The SiteMap class to track the set of SiteMapProvider objects that are available to the SiteMap during site map initialization. However, the presence of a SiteMapProvider in the provider collection does not necessarily mean it is used by a SiteMap object, only that it is available for use.is used by the
The following code example demonstrates how to retrieve the SiteMap object and iterate through it.object from the
If you have more than just the default provider configured for your site, you will see each provider that is displayed. For example, if you are using the sample AccessSiteMapProvider found in the SiteMapProvider class overview, you will see the following output.
XmlSiteMapProvider System.Web.XmlSiteMapProvider AccessSiteMapProvider Samples.AspNet.Controls.AccessSiteMapProvider
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.