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