Click or drag to resize

ReflectionUtilsTryConvertValue Method (Object, Type, Object)

Tries to convert the specified value to the specified value.

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static bool TryConvertValue(
	Object rawValue,
	Type type,
	out Object convertedValue
)

Parameters

rawValue
Type: SystemObject
Value to convert.
type
Type: SystemType
Type to convert to.
convertedValue
Type: SystemObject
Converted value.

Return Value

Type: Boolean
True if value could be converted; otherwise, false.
See Also