Converts the value to the specified type. If the value is unable to be converted, the value is checked whether it assignable to the specified type.
Parameters |
Description |
initialValue |
The value to convert. |
culture |
The culture to use when converting. |
targetType |
The type to convert or cast the value to. |
The converted type. If conversion was unsuccessful, the initial value is returned if assignable to the target type.
What do you think about this topic? Send feedback!
|
Copyright (c) 2017. All rights reserved.
|