Udostępnij za pośrednictwem


AutomationPeer.GetDescribedByCore Method

Definition

Gets a collection of elements that provide more information about the automation element.

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

Returns

A collection of elements that provide more information about the automation element.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

GetDescribedBy is used when an automation element is explained by another segment of the application UI. For example, the collection can point to a text element of "2,529 items in 85 groups, 10 items selected" from a complex custom list object. Instead of using the object model for clients to digest similar information, the collection returned by GetDescribedBy can offer quick access to UI elements that may already offer useful end-user information that describes the UI element.

Applies to