Partager via


ActionList.GetRange Method

Returns a collection that contains the specified 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 GetRange ( _
    startId As Long, _
    stopId As Long _
) As ICollection(Of UITestAction)
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: Int64

    An Int64 that represents the identifier for the item at the start of the range.

  • stopId
    Type: Int64

    An Int64 that represents the identifier for the item at the end of the range.

Return Value

Type: ICollection<UITestAction>
A collection that contains the specified range of actions from this action list.

.NET Framework Security

See Also

Reference

ActionList Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace