Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- T
A Type derived from ActionList.
Return Value
Type: System.Collections.Generic.IEnumerable<T>
A list of test action objects.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace