'Declaration Public Function Convert( _ ByVal value As System.Object, _ ByVal targetType As System.Type, _ ByVal parameter As System.Object, _ ByVal culture As System.Globalization.CultureInfo _ ) As System.Object
'Usage Dim instance As DataValidationNullValueConverter Dim value As System.Object Dim targetType As System.Type Dim parameter As System.Object Dim culture As System.Globalization.CultureInfo Dim value As System.Object value = instance.Convert(value, targetType, parameter, culture)
public System.object Convert( System.object value, System.Type targetType, System.object parameter, System.Globalization.CultureInfo culture )
Parameters
- value
- The value produced by the binding source.
- targetType
- The type of the binding target property.
- parameter
- The converter parameter to use.
- culture
- The culture to use in the converter.
Return Value
A converted value. If original value is null, return " ", otherwise, return the original value.