SiteMapProvider.SiteMapResolve Event
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.
Occurs when the CurrentNode property is called.
public:
event System::Web::SiteMapResolveEventHandler ^ SiteMapResolve;
public event System.Web.SiteMapResolveEventHandler SiteMapResolve;
member this.SiteMapResolve : System.Web.SiteMapResolveEventHandler
Public Custom Event SiteMapResolve As SiteMapResolveEventHandler
Public Event SiteMapResolve As SiteMapResolveEventHandler
Event Type
Remarks
You can create a SiteMapNode representation of the currently requested page without implementing a custom site map provider by subscribing to the SiteMapResolve event. Subscribers attach a SiteMapResolveEventHandler object to receive notification when the CurrentNode property is called and can return a custom SiteMapNode object instead of the default one that is returned by the CurrentNode property.
For more information about how to handle events, see Handling and Raising Events.
Applies to
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for