Click or drag to resize

IObjectGetPropertyT Method

Returns the value of the specified property.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
T GetProperty<T>(
	string name,
	params Object[] parameters
)

Parameters

name
Type: SystemString
The property name.
parameters
Type: SystemObject
An array of property parameters.

Type Parameters

T
The type of the object that will be returned.

Return Value

Type: T
The property value converted to a value of the T type.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
InvalidCastExceptionWill be thrown if incoming data cannot be converted to values of the type T.
See Also