# Using the IEnumerable\<UiElement\> variable type

**URL:** <https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824>\
**Category:** Help\
**Tags:** question, studio, uiautomation, activities\
**Created:** [January 12, 2021, 2:02pm UTC](https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824 "2021-01-12T14:02:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LewisHenderson](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lewishenderson/32/245063_2.png) [@LewisHenderson](https://forum.uipath.com/u/LewisHenderson)\
**Post date:** [January 12, 2021, 2:02pm UTC](https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824/1 "2021-01-12T14:02:04Z")

</div>

I am using the Get Children activity to take a list of information, find all of the descendants that match based on the selector. This gives me a list of all positive matches from the list in the type IEnumerable but I cannot display the attributes of any of the matches.

How can someone take the UiElement variable to make it display the attributes etc for use in log messages, and message boxes.

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [January 12, 2021, 2:23pm UTC](https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824/2 "2021-01-12T14:23:56Z")

</div>

Hi,

Hope the following helps you.

 ![img20210112-8](https://global.discourse-cdn.com/uipath/original/3X/7/d/7d71a59383720055e95a994970c3d5f96a38e215.png)

Regards,

---

<div class="post-metadata">

**Author:** ![LewisHenderson](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lewishenderson/32/245063_2.png) [@LewisHenderson](https://forum.uipath.com/u/LewisHenderson)\
**Post date:** [January 12, 2021, 2:59pm UTC](https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824/3 "2021-01-12T14:59:36Z")

</div>

Perfect, thank you @Yoichi

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [January 15, 2021, 2:59pm UTC](https://forum.uipath.com/t/using-the-ienumerable-uielement-variable-type/282824/4 "2021-01-15T14:59:41Z")

</div>

Closed on January 15, 2021, 2:59pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
