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
- uiTestControl
Tür: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl
- action
Tür: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
UITestAction nesnesi
Dönüş Değeri
Tür: System.String
Belirtilen eylem tarafından kullanılan özellik adı.
.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üvenilen kod kitaplıklarını kullanma.
Ayrıca bkz.
Başvuru
Microsoft.VisualStudio.TestTools.UITesting Ad Alanı