Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CoreWindow.GetForCurrentThread Method

Definition

Namespace:
Windows.UI.Core

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?