Compartir a través de


UITestControl.Container (Propiedad)

Obtiene o establece el contenedor de este objeto UITestControl.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.UITesting
Ensamblado:  Microsoft.VisualStudio.TestTools.UITesting (en Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxis

'Declaración
Public Overridable Property Container As UITestControl
public virtual UITestControl Container { get; set; }
public:
virtual property UITestControl^ Container {
    UITestControl^ get ();
    void set (UITestControl^ value);
}
abstract Container : UITestControl with get, set
override Container : UITestControl with get, set
function get Container () : UITestControl
function set Container (value : UITestControl)

Valor de propiedad

Tipo: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Contenedor de este objeto UITestControl.

Comentarios

Container no es necesariamente el elemento primario inmediato, pero Container puede ser cualquier antecesor en la jerarquía de los controles de prueba de la interfaz de usuario.

Seguridad de .NET Framework

Vea también

Referencia

UITestControl Clase

Microsoft.VisualStudio.TestTools.UITesting (Espacio de nombres)

Container