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
- T
The Type that specifies the kind of UITestAction objects to select.
Return Value
Type: IEnumerable<T>
An enumerated list of actions of the specified type from this action list.
.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.