Freigeben über


UITechnologyElement.SetPropertyValue-Methode

Führt eine SetProperty-Aktion aus

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Overridable Sub SetPropertyValue ( _
    propertyName As String, _
    propertyValue As Object _
)
public virtual void SetPropertyValue(
    string propertyName,
    Object propertyValue
)
public:
virtual void SetPropertyValue(
    String^ propertyName, 
    Object^ propertyValue
)
abstract SetPropertyValue : 
        propertyName:string * 
        propertyValue:Object -> unit  
override SetPropertyValue : 
        propertyName:string * 
        propertyValue:Object -> unit
public function SetPropertyValue(
    propertyName : String, 
    propertyValue : Object
)

Parameter

  • propertyName
    Typ: String

    Der Eigenschaftenname.

  • propertyValue
    Typ: Object

    Der Eigenschaftswert.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITechnologyElement Klasse

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace