Metoda ActionList.GetActionsOfType<T> — ()
Zwraca wyliczanych listę akcji określonego typu z tej listy akcji.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
public IEnumerable<T> GetActionsOfType<T>()
where T : UITestAction
public:
generic<typename T>
where T : UITestAction
IEnumerable<T>^ GetActionsOfType()
member GetActionsOfType<'T when 'T : UITestAction> : unit -> IEnumerable<'T>
Public Function GetActionsOfType(Of T As UITestAction) As IEnumerable(Of T)
Wartość zwracana
Type: System.Collections.Generic.IEnumerable<T>
Stały wykaz działań określonego typu z tej listy akcji.
Parametry typów
- T
Type , Która określa typ z UITestAction Zaznaczanie obiektów.
Zobacz też
UITestAction
Klasa ActionList
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common
Powrót do początku