UITestControl.SetProperty Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Sub SetProperty ( _
propertyName As String, _
value As Object _
)
public virtual void SetProperty(
string propertyName,
Object value
)
public:
virtual void SetProperty(
String^ propertyName,
Object^ value
)
abstract SetProperty :
propertyName:string *
value:Object -> unit
override SetProperty :
propertyName:string *
value:Object -> unit
public function SetProperty(
propertyName : String,
value : Object
)
Parameters
- propertyName
Type: String
- value
Type: Object
.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.