Export (0) Print
Expand All

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 int FindIndex(
	long id
)

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.

Community Additions

ADD
Show:
© 2014 Microsoft