2017 年 8 月 Windows 開發人員文件的新增功能What's New in the Windows Developer Docs in August 2017

Windows 開發人員文件一直持續不斷更新有關 Windows 平台上可供開發人員使用之新功能的資訊。The Windows Developer Documentation is constantly being updated with information on new features available to developers across the Windows platform. 最近已有下列功能概觀、開發人員指引和影片可以使用,包含提供給 Windows 開發人員的全新及更新資訊。The following feature overviews, developer guidance, and videos have recently been made available, containing new and updated information for Windows developers.

在 Windows 10 上安裝工具和 SDK 之後,就表示您已經準備好建立新的通用 Windows 應用程式,或是探索如何在 Windows 上使用現有的應用程式程式碼Install the tools and SDK on Windows 10 and you’re ready to either create a new Universal Windows app or explore how you can use your existing app code on Windows.

功能Features

Windows Template StudioWindows Template Studio

使用新的適用於 Visual Studio 2019 的 Windows Template Studio 擴充功能,快速建置包含您所需頁面、架構及功能的 UWP 應用程式。Use the new Windows Template Studio extension for Visual Studio 2019 to quickly build a UWP app with the pages, framework, and features that you want. 這個以精靈為主的使用體驗實作經證實有效的模式及最佳做法,可節省新增功能至應用程式的時間並且避開相關問題。This wizard-based experience implements proven patterns and best practices to save you time and trouble adding features to your app.

Windows Template Studio

條件式 XAMLConditional XAML

您現在可以預覽條件式 XAML 來建立版本調適型應用程式You can now preview conditional XAML to create version adaptive apps. 條件式 XAML 可讓您在 XAML 標記中使用 ApiInformation.IsApiContractPresent 方法,因此可以根據 API 是否存在來設定屬性和具現化物件,而不必使用程式碼後置。Conditional XAML lets you use the ApiInformation.IsApiContractPresent method in XAML markup, so you can set properties and instantiate objects in markup based on the presence of an API, without needing to use code behind.

遊戲模式Game Mode

通用 Windows 平台 (UWP) 的遊戲模式 API 可讓您利用 Windows 10 中的遊戲模式產生最佳化的遊戲體驗。The Game Mode APIs for the Universal Windows Platform (UWP) allow you to produce the most optimized gaming experience by taking advantage of Game Mode in Windows 10. 這些 API 位於 <expandedresources.h> 標頭檔中。These APIs are located in the <expandedresources.h> header.

遊戲模式

提交 API 支援預告片和遊戲選項Submission API supports video trailers and gaming options

Microsoft Store 提交 API 現在可讓您使用應用程式提交來包含預告片遊戲選項The Microsoft Store submission API now enables you to include video trailers and gaming options with your app submissions.

開發人員指引Developer Guidance

Microsoft Store 產品的資料結構描述Data schemas for Store products

我們新增了 Store 產品的資料結構描述文章。We've added the Data schemas for Store products article. 此文章針對 Windows.Services.Store 命名空間中的幾個物件 (包括 StoreProductStoreAppLicense) 提供其 Store 相關資料的結構描述。This article provides schemas for the Store-related data available for several objects in the Windows.Services.Store namespace, including StoreProduct and StoreAppLicense.

傳統型橋接器Desktop Bridge

我們新增了兩份指南,可協助您加入讓 Windows 10 使用者耳目一新的現代化體驗。We've added two guides that help you to add modern experiences that light up for Windows 10 users.

請參閱增強您的 Windows 10 傳統型應用程式以尋找和參考正確的檔案,然後撰寫程式碼來增強 UWP 體驗,讓 Windows 10 使用者眼睛為之一亮。See Enhance your desktop application for Windows 10 to find and reference the correct files, and then write code to light up UWP experiences for Windows 10 users.

請參閱使用現代化 UWP 元件擴充您的傳統型應用程式,以結合現代化 XAML UI 與其他必須在 UWP 應用程式容器中執行的 UWP 體驗。See Extend your desktop application with modern UWP components to incorporate modern XAML UIs and other UWP experiences that must run in a UWP app container.

開始使用服務點Getting started with point of service

我們加入了新的指南,可協助您開始使用點服務裝置We've added a new guide to help you get started with point of service devices. 內容涵蓋裝置列舉、檢查裝置功能、宣告裝置和裝置共用等主題。It covers topics like device enumeration, checking device capabilities, claiming devices, and device sharing.

Xbox LiveXbox Live

我們已經為 Xbox Live 開發人員新增關於 UWP 遊戲和 Xbox 開發人員套件 (XDK) 遊戲的文件。We've added docs for Xbox Live developers, for both UWP and Xbox Developer Kit (XDK) games.

請參閱 Xbox Live 開發人員指南,以了解如何使用 Xbox Live API 將您的遊戲連線至 Xbox Live 社交遊戲網路。See the Xbox Live developer guide to learn how to use the Xbox Live APIs to connect your game to the Xbox Live social gaming network.

任何 UWP 遊戲開發人員都可以利用 Xbox Live 創作者計畫,在電腦和 Xbox One 上開發並發行支援 Xbox Live 的遊戲。With the Xbox Live Creators Program, any UWP game developer can develop and publish an Xbox Live-enabled game on both the PC and Xbox One.

請參閱 Xbox Live 開發人員計畫概觀,以取得提供給 Xbox Live 開發人員的程式和功能的相關資訊。See the Xbox Live developer program overview for information about the programs and features available to Xbox Live developers.

視訊Videos

混合實境Mixed Reality

Microsoft HoloLens 課程 250 已發行一系列新的教學課程影片。A series of new tutorial videos have been released for Microsoft HoloLens Course 250. 如果您已安裝工具且熟悉開發混合實境的基本知識,請觀看這些有關在各種混合實境裝置上建立共用體驗的視訊課程。If you've already installed the tools and are famiilar with the basics of development for Mixed Reality, check out these video courses for information upon creating shared experiences across Mixed Reality devices.

朗讀程式和開發人員模式Narrator and Dev Mode

您可能已經知道您可以使用朗讀程式來測試應用程式的螢幕助讀使用體驗。You might already know that you can use Narrator to test the screen reading experience of your app. 不過,朗讀程式還有開發人員模式,為您提供很好的視覺化呈現方式來展示顯露給朗讀程式的資訊。But Narrator also features a developer mode, which gives you a good visual representation of the information exposed to it. 觀看影片,然後深入了解朗讀程式開發人員模式Watch the video, then learn more about Narrator developer mode.

Windows Template StudioWindows Template Studio

這個影片提供了更詳細的 Windows Template Studio 概觀。A more detailed overview of the Windows Template Studio is given in this video. 當您準備好時,請安裝擴充功能查看原始程式碼和文件When you're ready, install the extension or check out the source code and documentation.