UITechnologyElement.SetPropertyValue Method

Performs a SetProperty action

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
)

Parameters

  • propertyName
    Type: String

    The property name.

  • propertyValue
    Type: Object

    The property value.

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace