RanorexRanorex Documentation
GetPropertyValue<(Of <(T>)>) Method (name)
NamespacesRanorexControlGetPropertyValue<(Of <(T>)>)(String)
Gets the (serializable) value of the specified control property.
Declaration Syntax
C#Visual BasicVisual C++
public T GetPropertyValue<T>(
	string name
)
Public Function GetPropertyValue(Of T) ( _
	name As String _
) As T
public:
generic<typename T>
T GetPropertyValue(
	String^ name
)
Generic Template Parameters
T
The type of the property to get the value from.
Parameters
name (String)
The name of the property.
Return Value
The value of the named property or the default value of the specified type if the returned value is null and the specified type is a value type.
Exceptions
ExceptionCondition
InvalidCastExceptionIf the returned value cannot be casted to the specified type.
ActionFailedExceptionThrown if invoking the action failed.

Assembly: Ranorex.Plugin.WinForms (Module: Ranorex.Plugin.WinForms) Version: 3.2.3.16825 (3.2.3.16825)