Aracılığıyla paylaş


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

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

Ayrıca bkz.

Başvuru

ActionList Sınıf

Microsoft.VisualStudio.TestTools.UITest.Common Ad Alanı

UITestAction