ActionList.GetActionsOfType<T> Yöntem
Bu eylem listesinden belirtilen türdeki eylemler numaralandırılmış bir listesini döndürür.
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Common
Derleme: Microsoft.VisualStudio.TestTools.UITest.Common (Microsoft.VisualStudio.TestTools.UITest.Common.dll içinde)
Sözdizimi
'Bildirim
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 genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- T
Type Türünü belirtir, UITestAction nesneleri seçin.
Dönüş Değeri
Tür: System.Collections.Generic.IEnumerable<T>
Bu eylem listede belirtilen türdeki eylemler numaralandırılmış bir listesi.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.