Επεξεργασία

Κοινή χρήση μέσω


SiteMapResolveEventArgs.Provider Property

Definition

Gets the SiteMapProvider object that raised the SiteMapResolve event.

public:
 property System::Web::SiteMapProvider ^ Provider { System::Web::SiteMapProvider ^ get(); };
public System.Web.SiteMapProvider Provider { get; }
member this.Provider : System.Web.SiteMapProvider
Public ReadOnly Property Provider As SiteMapProvider

Property Value

The SiteMapProvider that raised the event; otherwise, null, if no provider is specified during the EventArgs object construction.

Remarks

Event subscribers can use the HttpContext and SiteMapProvider objects to dynamically create a SiteMapNode object and retrieve information about the requested page, such as the requested URL, as well as user information.

Applies to

See also