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
- element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
An IUITechnologyElement object.
- parsedQueryIdCookie
Type: System.Object
The cookie of a previously parsed IQueryElement to filter matching children by using the QueryId property of each element.
Return Value
Type: System.Collections.IEnumerator
An enumerator for the collection of child elements.
Implements
IUITechnologyManager.GetChildren(IUITechnologyElement, Object)
.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.