Редагувати

Поділитися через


SiteMapPath.Provider Property

Definition

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.

Applies to

See also