ActionList.Find Method
Searches for an action that has the given identifier and returns the action.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Function Find ( _
id As Long _
) As UITestAction
public UITestAction Find(
long id
)
public:
UITestAction^ Find(
long long id
)
member Find :
id:int64 -> UITestAction
public function Find(
id : long
) : UITestAction
Parameters
id
Type: Int64An Int64 value that represents the possible identifier for an action.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
If found, the action; otherwise, nulla null reference (Nothing in Visual Basic).
.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.