Método UIMap.GetUIObjectNameForElement

Retorna o nome do objeto UI que corresponde ao elemento de interface do usuário fornecido.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (em Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintaxe

'Declaração
Public Function GetUIObjectNameForElement ( _
    element As UITechnologyElement _
) As String
public string GetUIObjectNameForElement(
    UITechnologyElement element
)
public:
String^ GetUIObjectNameForElement(
    UITechnologyElement^ element
)
member GetUIObjectNameForElement : 
        element:UITechnologyElement -> string 
public function GetUIObjectNameForElement(
    element : UITechnologyElement
) : String

Parâmetros

Valor de retorno

Tipo: System.String
O nome do objeto de interface do usuário correspondente.

Segurança do .NET Framework

Consulte também

Referência

UIMap Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Common.UIMap

UIObject

UITechnologyElement