SiteMapDataSource.Provider Property
In this article
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 object that is associated with the data source 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
A SiteMapProvider that is associated with the data source control; otherwise, if no provider is explicitly set, the default site map provider.
- Attributes
The provider named by the SiteMapProvider is not available.
-or-
No default provider is configured for the site.
Use the Provider property to specify the site map provider instance to use with the data source control. The instance can be different than the provider that is identified by the SiteMapProvider property, if set.
Applies to
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |