AutomationPeer.GetFlowsFromCore 方法

定義

當 Microsoft UI 自動化用戶端呼叫 GetFlowsFrom 或對等的 Microsoft UI 自動化用戶端 API 時,提供對等的行為。

protected:
 virtual IIterable<AutomationPeer ^> ^ GetFlowsFromCore() = GetFlowsFromCore;
IIterable<AutomationPeer> GetFlowsFromCore();
protected virtual IEnumerable<AutomationPeer> GetFlowsFromCore();
function getFlowsFromCore()
Protected Overridable Function GetFlowsFromCore () As IEnumerable(Of AutomationPeer)

傳回

建議目前自動化專案之前讀取順序的自動化專案清單。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

「Core」 方法是執行相關聯 UI 自動化用戶端可呼叫方法之預設動作的標準實作。 您可以覆寫任何「核心」方法,以傳回自訂自動化對等中的替代值。 在此情況下,每當呼叫 GetFlowsFrom 時,就會叫用 GetFlowsFromCore。

AutomationPeer的基底實作會傳回 null。

適用於