Share via


ElementCompositionPreview.GetAppWindowContent(AppWindow) 方法

定義

擷取 AppWindow 的內容根目錄。

public:
 static UIElement ^ GetAppWindowContent(AppWindow ^ appWindow);
 static UIElement GetAppWindowContent(AppWindow const& appWindow);
public static UIElement GetAppWindowContent(AppWindow appWindow);
function getAppWindowContent(appWindow)
Public Shared Function GetAppWindowContent (appWindow As AppWindow) As UIElement

參數

appWindow
AppWindow

要從中取得內容的 AppWindow。

傳回

AppWindow 的內容根目錄。

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

適用於