Click or drag to resize

UtilitiesObjectFromString Method

The create an object which can be initialized by String. The object must have a Public Static Method Parse, with a String as parameter.

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static Object ObjectFromString(
	string text,
	Type objectType
)

Parameters

text
Type: SystemString
String, the text value of the object
objectType
Type: SystemType
Type, the type of object

Return Value

Type: Object
An object of type descripted in objectType represented by the text
See Also