Partager via


ImageConverter.Convert Method (Object, Type, Object, CultureInfo)

 

Converts source value to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public object Convert(
    object value,
    Type targetType,
    object parameter,
    CultureInfo culture
)
public:
virtual Object^ Convert(
    Object^ value,
    Type^ targetType,
    Object^ parameter,
    CultureInfo^ culture
) sealed
Public Function Convert (
    value As Object,
    targetType As Type,
    parameter As Object,
    culture As CultureInfo
) As Object

Parameters

  • targetType
    Type: System.Type

    The type of the binding target property.

Return Value

Type: System.Object

The converted value.

Implements

IValueConverter.Convert(Object, Type, Object, CultureInfo)

See Also

ImageConverter Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top