Share via


UITechnologyManager.GetChildren Method

Returns an enumerator for the child elements in the given element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public MustOverride Function GetChildren ( _
    element As IUITechnologyElement, _
    parsedQueryIdCookie As Object _
) As IEnumerator
[ComVisibleAttribute(true)]
public abstract IEnumerator GetChildren(
    IUITechnologyElement element,
    Object parsedQueryIdCookie
)
[ComVisibleAttribute(true)]
public:
virtual IEnumerator^ GetChildren(
    IUITechnologyElement^ element, 
    Object^ parsedQueryIdCookie
) abstract
[<ComVisibleAttribute(true)>]
abstract GetChildren : 
        element:IUITechnologyElement * 
        parsedQueryIdCookie:Object -> IEnumerator
public abstract function GetChildren(
    element : IUITechnologyElement, 
    parsedQueryIdCookie : Object
) : IEnumerator

Parameters

  • parsedQueryIdCookie
    Type: Object

    The cookie of a previously parsed IQueryElement to filter matching children by using the QueryId property of each element.

Return Value

Type: IEnumerator
An enumerator for the collection of child elements.

Implements

IUITechnologyManager.GetChildren(IUITechnologyElement, Object)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement

IQueryElement