語言

DataSourceProvider.Dispatcher 屬性

定義

取得或設定目前 Dispatcher 物件到 UI 執行緒以供使用。

protected:
 property System::Windows::Threading::Dispatcher ^ Dispatcher { System::Windows::Threading::Dispatcher ^ get(); void set(System::Windows::Threading::Dispatcher ^ value); };
protected System.Windows.Threading.Dispatcher Dispatcher { get; set; }
member this.Dispatcher : System.Windows.Threading.Dispatcher with get, set
Protected Property Dispatcher As Dispatcher

屬性值

目前要用的物件就是 UI 執行緒的。Dispatcher 預設情況下,這是 Dispatcher 與該實例建立執行緒相關的物件。

適用於