Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: 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
- 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.