How to initialize UiPath.Core.UiElement

Hi @jeevith
Thanks for your response. I’m trying to retrieve a dropdown list in html innertext format which will be utilized in the succeeding loop for extracting more webportal details. Have used element exists activity prior to clicking dropdown and find children activity. PFA the screenshot.

While debugging it getting Object reference not set to an instance of an object msg. So tried putting child element default value as *Enumerable.Empty(Of UiElement)() As System.Collections.Generic.IEnumerable(Of UiElement) but it’s throwing End of Expression expected message.
Also checked the ongoing discussion in this link: Variable, Uielement but missed to find any resolution yet. Please let me know if you have any suggestions.