Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes all items within the range represented by the given identifiers.
Namespace: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)
Syntax
'Declaration
Public Function DeleteRange ( _
startId As Long, _
stopId As Long _
) As Integer
'Usage
Dim instance As ActionList
Dim startId As Long
Dim stopId As Long
Dim returnValue As Integer
returnValue = instance.DeleteRange(startId, _
stopId)
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: System.Int64
A long value identifying the starting list item.
- stopId
Type: System.Int64
A long value identifying the ending list item.
Return Value
Type: System.Int32
The number of test action items that were removed from the list.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace