다음을 통해 공유


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

매개 변수

  • additionalInfo
    형식: Object
  • maxDepth
    형식: Int32%

반환 값

형식: String

구현

IUITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)

.NET Framework 보안

참고 항목

참조

UITechnologyElement 클래스

Microsoft.VisualStudio.TestTools.UITest.Extension 네임스페이스