Partilhar via


Método SilverlightContainer.GetQueryIdForRelatedElement

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Este membro substitui UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%).

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (em Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Sintaxe

'Declaração
Public Overrides Function GetQueryIdForRelatedElement ( _
    relatedElement As UITestElementKind, _
    additionalInfo As Object, _
    <OutAttribute> ByRef maxDepth As Integer _
) As String
public override string GetQueryIdForRelatedElement(
    UITestElementKind relatedElement,
    Object additionalInfo,
    out int maxDepth
)
public:
virtual String^ GetQueryIdForRelatedElement(
    UITestElementKind relatedElement, 
    Object^ additionalInfo, 
    [OutAttribute] int% maxDepth
) override
abstract GetQueryIdForRelatedElement : 
        relatedElement:UITestElementKind * 
        additionalInfo:Object * 
        maxDepth:int byref -> string 
override GetQueryIdForRelatedElement : 
        relatedElement:UITestElementKind * 
        additionalInfo:Object * 
        maxDepth:int byref -> string 
public override function GetQueryIdForRelatedElement(
    relatedElement : UITestElementKind, 
    additionalInfo : Object, 
    maxDepth : int
) : String

Parâmetros

Valor de retorno

Tipo: System.String
Retorna String.

Implementações

IUITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)

Segurança do .NET Framework

Consulte também

Referência

SilverlightContainer Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight