AutomationPeer.GetDescribedByCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得專案集合,提供自動化專案的詳細資訊。
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 元素,而不是使用物件模型來摘要類似的資訊。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應