此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
返回给定元素内子元素的枚举器。
命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
<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
参数
- element
 类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
 一个 IUITechnologyElement 对象。
- parsedQueryIdCookie
 类型:System.Object
 以前分析的查询元素的 Cookie。
返回值
类型:System.Collections.IEnumerator
子元素集合的枚举器。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。