Share via


DelayAction.Duration Property

Gets or sets the number of seconds to delay after executing each action in a UI test.

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

Syntax

'Declaration
Public Property Duration As Integer
public int Duration { get; set; }
public:
property int Duration {
    int get ();
    void set (int value);
}
member Duration : int with get, set
function get Duration () : int 
function set Duration (value : int)

Property Value

Type: Int32
The number of seconds to delay.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

DelayAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged