Language

ActionList.GetRange Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the test actions from the list within the given range.

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

Syntax

'Declaration
Public Function GetRange ( _
    startId As Long, _
    stopId As Long _
) As ICollection(Of UITestAction)
'Usage
Dim instance As ActionList
Dim startId As Long
Dim stopId As Long
Dim returnValue As ICollection(Of UITestAction)

returnValue = instance.GetRange(startId, _
    stopId)
public ICollection<UITestAction> GetRange(
    long startId,
    long stopId
)
public:
ICollection<UITestAction^>^ GetRange(
    long long startId, 
    long long stopId
)
member GetRange : 
        startId:int64 * 
        stopId:int64 -> ICollection<UITestAction> 
public function GetRange(
    startId : long, 
    stopId : long
) : ICollection<UITestAction>

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.Collections.Generic.ICollection<UITestAction>
The requested list of test actions.

.NET Framework Security

See Also

Reference

ActionList Class

ActionList Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace