UITechnologyElement.GetQueryIdForRelatedElement 方法
命名空间: Microsoft.VisualStudio.TestTools.UITest.Extension
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
Public MustOverride Function GetQueryIdForRelatedElement ( _
relatedElement As UITestElementKind, _
additionalInfo As Object, _
<OutAttribute> ByRef maxDepth As Integer _
) As String
public abstract string GetQueryIdForRelatedElement(
UITestElementKind relatedElement,
Object additionalInfo,
out int maxDepth
)
public:
virtual String^ GetQueryIdForRelatedElement(
UITestElementKind relatedElement,
Object^ additionalInfo,
[OutAttribute] int% maxDepth
) abstract
abstract GetQueryIdForRelatedElement :
relatedElement:UITestElementKind *
additionalInfo:Object *
maxDepth:int byref -> string
public abstract function GetQueryIdForRelatedElement(
relatedElement : UITestElementKind,
additionalInfo : Object,
maxDepth : int
) : String
参数
- relatedElement
类型:Microsoft.VisualStudio.TestTools.UITest.Extension.UITestElementKind
- additionalInfo
类型:Object
- maxDepth
类型:Int32%
返回值
类型:String
实现
IUITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。