XmlSiteMapProvider::RemoveProvider Method (String^)
.NET Framework (current version)
Removes a linked child site map provider from the hierarchy for the current provider.
Assembly: System.Web (in System.Web.dll)
Parameters
- providerName
-
Type:
System::String^
The name of one of the SiteMapProvider objects currently registered in the Providers.
| Exception | Condition |
|---|---|
| ProviderException | providerName cannot be resolved. |
| InvalidOperationException | providerName is not a registered child provider of the current site map provider. |
| ArgumentNullException | providerName is null. |
The RemoveProvider method removes providerName from the hierarchy for the current provider, including any parent/child relationships that are established by the AddProvider method between site map nodes of the current provider and the removed provider.
.NET Framework
Available since 2.0
Available since 2.0
Show: