| ReflectionUtilsTryConvertValueT Method (Object, T) |
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<T>(
Object rawValue,
out T convertedValue
)
Public Shared Function TryConvertValue(Of T) (
rawValue As Object,
<OutAttribute> ByRef convertedValue As T
) As Boolean
public:
generic<typename T>
static bool TryConvertValue(
Object^ rawValue,
[OutAttribute] T% convertedValue
)
static member TryConvertValue :
rawValue : Object *
convertedValue : 'T byref -> bool
Parameters
- rawValue
- Type: SystemObject
Value to convert. - convertedValue
- Type: T
Converted value.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Slash.Unity.DataBind.Core.Utils.ReflectionUtils.TryConvertValue``1(System.Object,``0@)"]
Return Value
Type:
BooleanTrue if value could be converted; otherwise, false.
See Also