IUITechnologyElement.GetPropertyValue Yöntem
Bu öğe için belirtilen özellik değeri döndürür.
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Extension
Derleme: Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll içinde)
Sözdizimi
'Bildirim
Function GetPropertyValue ( _
propertyName As String _
) As Object
Object GetPropertyValue(
string propertyName
)
Object^ GetPropertyValue(
String^ propertyName
)
abstract GetPropertyValue :
propertyName:string -> Object
function GetPropertyValue(
propertyName : String
) : Object
Parametreler
- propertyName
Tür: System.String
Alınacak özelliğin adı.
Dönüş Değeri
Tür: System.Object
Özellik değeri.
Özel Durumlar
Exception | Koşul |
---|---|
NotSupportedException | Öğenin özellik desteklenmiyor. |
.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.