Share via


IUITechnologyManager.GetChildren Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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)> _
Function GetChildren ( _
    element As IUITechnologyElement, _
    parsedQueryIdCookie As Object _
) As IEnumerator
[ComVisibleAttribute(true)]
IEnumerator GetChildren(
    IUITechnologyElement element,
    Object parsedQueryIdCookie
)
[ComVisibleAttribute(true)]
IEnumerator^ GetChildren(
    IUITechnologyElement^ element, 
    Object^ parsedQueryIdCookie
)
[<ComVisibleAttribute(true)>]
abstract GetChildren : 
        element:IUITechnologyElement * 
        parsedQueryIdCookie:Object -> IEnumerator
function GetChildren(
    element : IUITechnologyElement, 
    parsedQueryIdCookie : Object
) : IEnumerator

Parameters

  • parsedQueryIdCookie
    Type: Object

    The cookie of a previously parsed query element.

Return Value

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

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace