Umbraco 中获取当前所在的Umbraco Page所在的IPublishedContent, 可以使用如下语句
UmbracoHelper(ContextHelpers.EnsureUmbracoContext()).TypedContent(ContextHelpers.EnsureUmbracoContext().PageId);
Umbraco 中获取当前所在的Umbraco Page所在的IPublishedContent, 可以使用如下语句
UmbracoHelper(ContextHelpers.EnsureUmbracoContext()).TypedContent(ContextHelpers.EnsureUmbracoContext().PageId);