2
以下是我有:如何獲取頁面上次在Sitefinity中發佈的日期時間?
Dim cmsManager As New Telerik.Cms.CmsManager()
Dim currentNode As Telerik.Cms.Web.CmsSiteMapNode = CType(SiteMap.CurrentNode, Telerik.Cms.Web.CmsSiteMapNode)
Dim currentPage As Telerik.Cms.ICmsPage = currentNode.GetCmsPage()
Dim currentPageId As Guid = currentPage.ID
Dim pageFromDb As Telerik.Cms.IPage = cmsManager.GetPage(currentPageId)
Me.LastUpdateDate = pageFromDb.DateModified
不幸的是.DateModified
返回一個頁面被修改,而不是當它是最後公佈的最後一次。我一直在尋找the documentation,但我一直未能找到任何相應的屬性。