SiteMapProvider.ResolveSiteMapNode(HttpContext) Метод
Определение
Вызывает событие SiteMapResolve.Raises the SiteMapResolve event.
protected:
System::Web::SiteMapNode ^ ResolveSiteMapNode(System::Web::HttpContext ^ context);
protected System.Web.SiteMapNode ResolveSiteMapNode (System.Web.HttpContext context);
member this.ResolveSiteMapNode : System.Web.HttpContext -> System.Web.SiteMapNode
Protected Function ResolveSiteMapNode (context As HttpContext) As SiteMapNode
Параметры
- context
- HttpContext
Объект HttpContext, для которого существует карта веб-узла.The HttpContext for which the site map currently exists.
Возвращаемое значение
Объект SiteMapNode, предоставленный делегатом обработчика событий, зарегистрированного для обработки события, или, если для обработки события зарегистрировано несколько делегатов, возвращенное событие последнего делегата в цепи делегатов; в противном случае — значение null
.A SiteMapNode provided by the event handler delegate that is registered to handle the event or, if more than one delegate is registered to handle the event, the return value of the last delegate in the delegate chain; otherwise, null
.
Комментарии
context
Параметр и ссылка на поставщик, который вызвал ResolveSiteMapNode метод, передается конструктору любого связанного SiteMapResolveEventArgs объекта.The context
parameter and a reference to the provider that called the ResolveSiteMapNode method are passed to the constructor of any associated SiteMapResolveEventArgs object.