Compartir a través de


IUITechnologyElement.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
Function GetPropertyValue ( _
    propertyName As String _
) As Object
Object GetPropertyValue(
    string propertyName
)
Object^ GetPropertyValue(
    String^ propertyName
)
abstract GetPropertyValue : 
        propertyName:string -> Object
function GetPropertyValue(
    propertyName : String
) : Object

Parámetros

  • propertyName
    Tipo: String

    Nombre de la propiedad que se va a recuperar.

Valor devuelto

Tipo: Object
Valor de propiedad.

Excepciones

Excepción Condición
NotSupportedException

La propiedad de elemento no es compatible.

Seguridad de .NET Framework

Vea también

Referencia

IUITechnologyElement Interfaz

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