SiteMapPath.Provider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a SiteMapProvider that is associated with the Web server control.
public:
property System::Web::SiteMapProvider ^ Provider { System::Web::SiteMapProvider ^ get(); void set(System::Web::SiteMapProvider ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Web.SiteMapProvider Provider { get; set; }
[<System.ComponentModel.Browsable(false)>]
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.
- Attributes
Exceptions
The provider named by the SiteMapProvider property is not available.
-or-
There is no default provider configured for the site.
Remarks
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.