SiteMapPath.Provider Property


Gets or sets a SiteMapProvider that is associated with the Web server control.

 property System::Web::SiteMapProvider ^ Provider { System::Web::SiteMapProvider ^ get(); void set(System::Web::SiteMapProvider ^ value); };
public System.Web.SiteMapProvider Provider { get; set; }
member this.Provider : System.Web.SiteMapProvider with get, set
Public Property Provider As SiteMapProvider

Property Value


A SiteMapProvider instance that is associated with the control. If no provider is explicitly set, the default site map provider is used.



The provider named by the SiteMapProvider property is not available.


There is no default provider configured for the site.


The Provider property specifies an instance of a site map provider to use with the control. This provider may be different from the provider identified by the SiteMapProvider property, if set.

Applies to

See also