Partager via


UITestAction.Id Property

Gets or sets a unique numeric identifier for this action.

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

Syntax

'Declaration
Public Property Id As Long
public long Id { get; set; }
public:
property long long Id {
    long long get ();
    void set (long long value);
}
member Id : int64 with get, set
function get Id () : long 
function set Id (value : long)

Property Value

Type: Int64
Raises the PropertyChanged event when the value is set.

Remarks

Actions can be sorted on ID to yield a list of actions sorted in chronological order of occurance. These Id are reported to the recorder UI. The action editor uses this to indicate which actions must be modified or deleted.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged