Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Data Namespace / IValueConverter Interface / Convert Method
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.


In This Topic
    Convert Method (IValueConverter)
    In This Topic
    Converts a value.
    Syntax
    'Declaration
     
    
    Function Convert( _
       ByVal value As Object, _
       ByVal targetType As Type, _
       ByVal parameter As Object _
    ) As Object
    'Usage
     
    
    Dim instance As IValueConverter
    Dim value As Object
    Dim targetType As Type
    Dim parameter As Object
    Dim value As Object
     
    value = instance.Convert(value, targetType, parameter)

    Parameters

    value
    The value produced by the binding source.
    targetType
    The type of the binding target property.
    parameter
    The converter parameter to use.

    Return Value

    A converted value. If the method returns null, the valid null value is used.
    Remarks
    The data binding engine calls this method when it propagates a value from the binding source to the binding target.
    See Also