Language

ActionList.GetActionsOfType<T> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a list of test actions that are of the given type.

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

Syntax

'Declaration
Public Function GetActionsOfType(Of T As UITestAction) As IEnumerable(Of T)
'Usage
Dim instance As ActionList
Dim returnValue As IEnumerable(Of T)

returnValue = instance.GetActionsOfType()
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: System.Collections.Generic.IEnumerable<T>
A list of test action objects.

.NET Framework Security

See Also

Reference

ActionList Class

ActionList Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace