Partilhar via


Método UIMap.AddUIObject

Adiciona o elemento de interface do usuário fornecido para este mapa.

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 AddUIObject ( _
    element As IUITechnologyElement _
) As UIObject
public UIObject AddUIObject(
    IUITechnologyElement element
)
public:
UIObject^ AddUIObject(
    IUITechnologyElement^ element
)
member AddUIObject : 
        element:IUITechnologyElement -> UIObject 
public function AddUIObject(
    element : IUITechnologyElement
) : UIObject

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UIObject.

Segurança do .NET Framework

Consulte também

Referência

UIMap Classe

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

UITechnologyElement

UIObject