共用方式為


Dispatcher.GetForCurrentThread 方法

定義

public:
 static Microsoft::Maui::Dispatching::IDispatcher ^ GetForCurrentThread();
public static Microsoft.Maui.Dispatching.IDispatcher? GetForCurrentThread ();
static member GetForCurrentThread : unit -> Microsoft.Maui.Dispatching.IDispatcher
Public Shared Function GetForCurrentThread () As IDispatcher

傳回

適用於