AppWindow.GetFromWindowId(WindowId) Method

Definition

Returns the AppWindow with the specified WindowId, if available. Returns null if the WindowId cannot be matched to a valid window.

public:
 static AppWindow ^ GetFromWindowId(WindowId windowId);
 static AppWindow GetFromWindowId(WindowId const& windowId);
public static AppWindow GetFromWindowId(WindowId windowId);
function getFromWindowId(windowId)
Public Shared Function GetFromWindowId (windowId As WindowId) As AppWindow

Parameters

windowId
WindowId

The identifier for the AppWindow.

Returns

The AppWindow with the specified WindowId, if available; null if the WindowId cannot be matched to a valid window.

Applies to

See also