跳至主要內容

ShortcutDetails 物件

  • target string - 從此捷徑啟動的目標。
  • cwd string (選用) - 工作目錄。預設為空。
  • args string (選用) - 從此捷徑啟動時,要套用至 target 的引數。預設為空。
  • description string (選用) - 捷徑的描述。預設為空。
  • icon string (選用) - 圖示的路徑,可以是 DLL 或 EXE。iconiconIndex 必須一起設定。預設為空,將使用目標的圖示。
  • iconIndex number (選用) - 當 icon 為 DLL 或 EXE 時,圖示的資源 ID。預設為 0。
  • appUserModelId string (選用) - 應用程式使用者模型 ID。預設為空。
  • toastActivatorClsid string (選用) - 應用程式 Toast 啟動器 CLSID。參與行動中心的必要條件。