ActionList.DeleteRange Method

Deletes a range of actions from this action list.

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

Syntax

'Declaration
Public Function DeleteRange ( _
    startId As Long, _
    stopId As Long _
) As Integer
public int DeleteRange(
    long startId,
    long stopId
)
public:
int DeleteRange(
    long long startId, 
    long long stopId
)
member DeleteRange : 
        startId:int64 * 
        stopId:int64 -> int
public function DeleteRange(
    startId : long, 
    stopId : long
) : int

Parameters

  • startId
    Type: Int64

    An int that represents the ID of the starting action in the range to delete.

  • stopId
    Type: Int64

    An int that represents the ID of the ending action in the range to delete.

Return Value

Type: Int32
The number of actions that were deleted.

.NET Framework Security

See Also

Reference

ActionList Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace