Partager via


ActionList.GetActionsOfType<T> Method

Returns an enumerated list of actions of the specified type from this action list.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Function GetActionsOfType(Of T As UITestAction) As IEnumerable(Of T)
public IEnumerable<T> GetActionsOfType<T>()
where T : UITestAction
public:
generic<typename T>
where T : UITestAction 
IEnumerable<T>^ GetActionsOfType()
member GetActionsOfType : unit -> IEnumerable<'T>  when 'T : UITestAction
JScript does not support generic types or methods.

Type Parameters

Return Value

Type: IEnumerable<T>
An enumerated list of actions of the specified type from this action list.

.NET Framework Security

See Also

Reference

ActionList Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITestAction