Aracılığıyla paylaş


UITestPropertyProvider.GetPropertyForAction Yöntem

Türetilmiş bir sınıfta geçersiz olduğunda, belirtilen eylem verilen denetimi tarafından kullanılan özellik adını döndürür.

Ad alanı:  Microsoft.VisualStudio.TestTools.UITesting
Derleme:  Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll içinde)

Sözdizimi

'Bildirim
Public MustOverride Function GetPropertyForAction ( _
    uiTestControl As UITestControl, _
    action As UITestAction _
) As String
public abstract string GetPropertyForAction(
    UITestControl uiTestControl,
    UITestAction action
)
public:
virtual String^ GetPropertyForAction(
    UITestControl^ uiTestControl, 
    UITestAction^ action
) abstract
abstract GetPropertyForAction : 
        uiTestControl:UITestControl * 
        action:UITestAction -> string 
public abstract function GetPropertyForAction(
    uiTestControl : UITestControl, 
    action : UITestAction
) : String

Parametreler

Dönüş Değeri

Tür: System.String
Belirtilen eylem tarafından kullanılan özellik adı.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

UITestPropertyProvider Sınıf

Microsoft.VisualStudio.TestTools.UITesting Ad Alanı

UITestControl

UITestAction

Diğer Kaynaklar

Kodlanmış UI denetimleri sınama işlemini etkinleştirmek