不知道是不是一样 我在Portal Starter里看到的 // Build and add the PortalSettings object to the current Context Context.Items.Add("PortalSettings", new PortalSettings(tabIndex, tabId));
// Retrieve and add the SiteConfiguration DataSet to the current Context HttpContext.Current.Items.Add("SiteSettings", Configuration.GetSiteSettings());
// Build and add the PortalSettings object to the current Context
Context.Items.Add("PortalSettings", new PortalSettings(tabIndex, tabId));
// Retrieve and add the SiteConfiguration DataSet to the current Context
HttpContext.Current.Items.Add("SiteSettings", Configuration.GetSiteSettings());