此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
此成员重写 UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean%)。
命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)
语法
声明
Public Overrides Function MatchElement ( _
    element As IUITechnologyElement, _
    parsedQueryIdCookie As Object, _
    <OutAttribute> ByRef useEngine As Boolean _
) As Boolean
public override bool MatchElement(
    IUITechnologyElement element,
    Object parsedQueryIdCookie,
    out bool useEngine
)
public:
virtual bool MatchElement(
    IUITechnologyElement^ element, 
    Object^ parsedQueryIdCookie, 
    [OutAttribute] bool% useEngine
) override
abstract MatchElement : 
        element:IUITechnologyElement * 
        parsedQueryIdCookie:Object * 
        useEngine:bool byref -> bool 
override MatchElement : 
        element:IUITechnologyElement * 
        parsedQueryIdCookie:Object * 
        useEngine:bool byref -> bool 
public override function MatchElement(
    element : IUITechnologyElement, 
    parsedQueryIdCookie : Object, 
    useEngine : boolean
) : boolean
参数
- parsedQueryIdCookie
 类型:System.Object
- useEngine
 类型:System.Boolean%
返回值
类型:System.Boolean
返回 Boolean。
实现
IUITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间