ActionList.FindIndex Method (Int64)

 

Returns the index of the action that has the specified identifier.

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

Syntax

public int FindIndex(
    long id
)
public:
int FindIndex(
    long long id
)
member FindIndex : 
        id:int64 -> int
Public Function FindIndex (
    id As Long
) As Integer

Parameters

  • id
    Type: System.Int64

    An Int64 that represents the identifier to search for.

Return Value

Type: System.Int32

If found, the index of the action; otherwise, -1.

See Also

ActionList Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top