UITestPropertyProvider.GetPropertyValue Yöntem
Türetilmiş bir sınıfta geçersiz olduğunda verilen denetimden belirtilen özellik değeri 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 GetPropertyValue ( _
uiTestControl As UITestControl, _
propertyName As String _
) As Object
public abstract Object GetPropertyValue(
UITestControl uiTestControl,
string propertyName
)
public:
virtual Object^ GetPropertyValue(
UITestControl^ uiTestControl,
String^ propertyName
) abstract
abstract GetPropertyValue :
uiTestControl:UITestControl *
propertyName:string -> Object
public abstract function GetPropertyValue(
uiTestControl : UITestControl,
propertyName : String
) : Object
Parametreler
- uiTestControl
Tür: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A UITestControl denetim.
- propertyName
Tür: System.String
Özelliğin adı.
Dönüş Değeri
Tür: System.Object
Verilen denetiminden belirtilen özellik değeri.
.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ı