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: StringThe property name.
propertyValue
Type: ObjectThe property value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.