UITechnologyElement.GetPropertyValue Method
Returns the value of the specified property for this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function GetPropertyValue ( _
propertyName As String _
) As Object
public abstract Object GetPropertyValue(
string propertyName
)
public:
virtual Object^ GetPropertyValue(
String^ propertyName
) abstract
abstract GetPropertyValue :
propertyName:string -> Object
public abstract function GetPropertyValue(
propertyName : String
) : Object
Parameters
- propertyName
Type: System.String
The name of the property to retrieve.
Return Value
Type: System.Object
The property value.
Implements
IUITechnologyElement.GetPropertyValue(String)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The element property is not supported. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.