Compartilhar via


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

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace