CoreWindow.GetForCurrentThread Method

Definition

Gets the CoreWindow instance for the currently active thread.

public:
 static CoreWindow ^ GetForCurrentThread();
 static CoreWindow GetForCurrentThread();
public static CoreWindow GetForCurrentThread();
function getForCurrentThread()
Public Shared Function GetForCurrentThread () As CoreWindow

Returns

CoreWindow

The CoreWindow for the currently active thread.

Applies to