RanorexRanorex Documentation
GetPropertyValue<(Of <(T>)>) Method (flags, name)
NamespacesRanorexControlGetPropertyValue<(Of <(T>)>)(BindingFlags, String)
Gets the (serializable) value of the specified control property.
Declaration Syntax
C#Visual BasicVisual C++
public T GetPropertyValue<T>(
	BindingFlags flags,
	string name
)
Public Function GetPropertyValue(Of T) ( _
	flags As BindingFlags, _
	name As String _
) As T
public:
generic<typename T>
T GetPropertyValue(
	BindingFlags flags, 
	String^ name
)
Generic Template Parameters
T
The type of the property to get the value from.
Parameters
flags (BindingFlags)
A combination of flags that further specify which property to get.
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)