Method TryConvert
TryConvert(object, Type, out object)
Declaration
bool TryConvert(object value, Type targetType, out object result)
Parameters
Type | Name | Description |
---|---|---|
object | value | |
Type | targetType | |
object | result |
Returns
Type | Description |
---|---|
bool |
TryConvert<T>(object, out T)
Declaration
bool TryConvert<T>(object value, out T result)
Parameters
Type | Name | Description |
---|---|---|
object | value | |
T | result |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T |