Partager via


UITechnologyElement.GetQueryIdForRelatedElement, méthode

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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

Paramètres

  • additionalInfo
    Type : Object
  • maxDepth
    Type : Int32%

Valeur de retour

Type : String

Implémentations

IUITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)

Sécurité .NET Framework

Voir aussi

Référence

UITechnologyElement Classe

Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms