'Declaration Public Function Convert( _ ByVal sourceValue As Object, _ ByVal targetType As Type, _ ByVal parameter As Object, _ ByVal targetCulture As CultureInfo _ ) As Object
'Usage Dim instance As SourceDataConverter Dim sourceValue As Object Dim targetType As Type Dim parameter As Object Dim targetCulture As CultureInfo Dim value As Object value = instance.Convert(sourceValue, targetType, parameter, targetCulture)
public object Convert( object sourceValue, Type targetType, object parameter, CultureInfo targetCulture )
Parameters
- sourceValue
- The value in the source.
- targetType
- The Type to which to convert sourceValue.
- parameter
- targetCulture
- The CultureInfo to use when converting the value.
Return Value
The converted value.