Aracılığıyla paylaş


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

Dönüş Değeri

Tür: System.Object
Verilen denetiminden belirtilen özellik değeri.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

UITestPropertyProvider Sınıf

Microsoft.VisualStudio.TestTools.UITesting Ad Alanı

UITestControl

Diğer Kaynaklar

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