Read an object from a string.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function LoadObjectFromString ( _
	str As String, _
	type As Type, _
	createAnInstanceIfNotExists As Boolean _
) As Object
C#
public static Object LoadObjectFromString(
	string str,
	Type type,
	bool createAnInstanceIfNotExists
)

Parameters

str
Type: System..::..String
type
Type: System..::..Type
createAnInstanceIfNotExists
Type: System..::..Boolean

Return Value

See Also