Compartir a través de


UITechnologyElement.GetPropertyValue (Método)

Devuelve el valor de la propiedad especificada para este elemento.

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

Sintaxis

'Declaración
Public MustOverride Function GetPropertyValue ( _
    propertyName As String _
) As Object
public abstract Object GetPropertyValue(
    string propertyName
)
public:
virtual Object^ GetPropertyValue(
    String^ propertyName
) abstract
abstract GetPropertyValue : 
        propertyName:string -> Object 
public abstract function GetPropertyValue(
    propertyName : String
) : Object

Parámetros

  • propertyName
    Tipo: System.String
    Nombre de la propiedad que se va a recuperar.

Valor devuelto

Tipo: System.Object
Valor de propiedad.

Implementaciones

IUITechnologyElement.GetPropertyValue(String)

Excepciones

Excepción Condición
NotSupportedException

La propiedad de elemento no es compatible.

Seguridad de .NET Framework

Vea también

Referencia

UITechnologyElement Clase

Microsoft.VisualStudio.TestTools.UITest.Extension (Espacio de nombres)