AutomationPeer.GetDescribedByCore 方法

定義

取得專案集合,提供自動化專案的詳細資訊。

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

傳回

專案集合,提供自動化專案的詳細資訊。

備註

當應用程式 UI 的另一個區段說明自動化專案時,會使用 GetDescribedBy。 例如,集合可以指向來自複雜自定義清單物件的 「2,529 個專案,85 個群組中的 10 個專案」 的文字元素。 GetDescribedBy 所傳回的集合可以快速存取可能已經提供描述 UI 元素之實用使用者資訊的 UI 元素,而不是使用物件模型來摘要類似的資訊。

適用於