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

The CoreWindow for the currently active thread, or null if no such CoreWindow exists.

Applies to