logo
  • 教程列表
  • SO官方文檔
  • 專案
    • 按 ID 獲取專案
    • 獲取專案的特定版本
    • 按路徑獲取物品
    • 在 Sitecore 專案上獲取欄位的原始值
    • 以程式設計方式釋出 Sitecore 項
  1. StackOverflow 文件
  2. sitecore 教程
  3. 專案
  4. 獲取專案的特定版本

獲取專案的特定版本

Created: November-22, 2018

如果你需要獲取某個專案的特定語言或版本,則可以使用 GetItem() 的這些過載

Sitecore.Context.Database.GetItem("/sitecore/content/Sitecore", Language.Current, new Version(5));
  • 按路徑獲取物品
  • 按 ID 獲取專案

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明