ActionList.FindIndex Method

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)


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


  • 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.

.NET Framework Security

See Also


ActionList Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace