Aracılığıyla paylaş


IUITechnologyElement.GetQueryIdForRelatedElement Yöntem

Ad alanı:  Microsoft.VisualStudio.TestTools.UITest.Extension
Derleme:  Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll içinde)

Sözdizimi

'Bildirim
Function GetQueryIdForRelatedElement ( _
    relatedElement As UITestElementKind, _
    additionalInfo As Object, _
    <OutAttribute> ByRef maxDepth As Integer _
) As String
string GetQueryIdForRelatedElement(
    UITestElementKind relatedElement,
    Object additionalInfo,
    out int maxDepth
)
String^ GetQueryIdForRelatedElement(
    UITestElementKind relatedElement, 
    Object^ additionalInfo, 
    [OutAttribute] int% maxDepth
)
abstract GetQueryIdForRelatedElement : 
        relatedElement:UITestElementKind * 
        additionalInfo:Object * 
        maxDepth:int byref -> string 
function GetQueryIdForRelatedElement(
    relatedElement : UITestElementKind, 
    additionalInfo : Object, 
    maxDepth : int
) : String

Parametreler

  • additionalInfo
    Tür: System.Object
    Gerekli olan ek bilgileri.Örneğin, relatedElement olan Child, bu parametre alt öğe adını içerir.
  • maxDepth
    Tür: System.Int32%
    İlgili öğe için arama derinliği en yüksek düzeyde.

Dönüş Değeri

Tür: System.String
İlişkili öğe sorgu kimliği.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

IUITechnologyElement Arabirim

Microsoft.VisualStudio.TestTools.UITest.Extension Ad Alanı

UITestElementKind