AutomationPeer.GetFlowsToCore 方法

定義

當 Microsoft 使用者介面自動化 用戶端呼叫 AutomationProperties.GetFlowsTo 或對等的 Microsoft 使用者介面自動化 用戶端 API 時,提供對等的行為。

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

傳回

建議目前自動化項目之後閱讀順序的自動化項目清單。

備註

“Core” 方法是執行相關聯 使用者介面自動化 用戶端可呼叫方法之預設動作的標準實作。 您可以覆寫任何 「Core」 方法,以傳回自定義自動化對等中的替代值。 在此情況下,每當呼叫 AutomationProperties.GetFlowsTo 時,就會叫用 GetFlowsToCore

AutomationPeer 的基底實作會傳回 null。

適用於