次の方法で共有


DispatcherProvider.SetCurrent(IDispatcherProvider) メソッド

定義

現在のディスパッチャー プロバイダーを設定します。

public:
 static bool SetCurrent(Microsoft::Maui::Dispatching::IDispatcherProvider ^ provider);
public static bool SetCurrent (Microsoft.Maui.Dispatching.IDispatcherProvider? provider);
static member SetCurrent : Microsoft.Maui.Dispatching.IDispatcherProvider -> bool
Public Shared Function SetCurrent (provider As IDispatcherProvider) As Boolean

パラメーター

provider
IDispatcherProvider

現在の IDispatcherProvider ディスパッチャー プロバイダーとして設定するオブジェクト。

戻り値

true 現在のディスパッチャーが実際に更新 falseされた場合は .

適用対象