CoreWindow.GetForCurrentThread 方法

定義

取得目前使用中線程的 CoreWindow 實例。

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

傳回

目前使用中線程的 CoreWindow ,如果沒有這類 CoreWindow,則為 null。

適用於