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
'Declaration
Public Function FindIndex ( _
    id As Long _
) As Integer
public int FindIndex(
    long id
)
public:
int FindIndex(
    long long id
)
member FindIndex : 
        id:int64 -> int
public function FindIndex(
    id : long
) : int
Parameters
- id 
 Type: Int64- An Int64 that represents the identifier to search for. 
Return Value
Type: Int32
If found, the index of the action; otherwise, -1.
.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.