Share via


CoreAppWindowPreview.GetIdFromWindow(AppWindow) Method

Definition

Retrieves the ID from the specified app window.

Important

The CoreAppWindowPreview.GetIdFromWindow API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public:
 static int GetIdFromWindow(AppWindow ^ window);
 static int GetIdFromWindow(AppWindow const& window);
public static int GetIdFromWindow(AppWindow window);
function getIdFromWindow(window)
Public Shared Function GetIdFromWindow (window As AppWindow) As Integer

Parameters

window
AppWindow

The app window to get the ID from.

Returns

Int32

int

The ID from the specified app window.

Applies to