Share via


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: Int64

    An 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

See Also

Reference

ActionList Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace