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
- element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
An IUITechnologyElement object.
- parsedQueryIdCookie
Type: System.Object
The cookie of a previously parsed query element.
Return Value
Type: System.Collections.IEnumerator
An enumerator for the collection of child elements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.