Partager via


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

Definition

Converts the specified value to the specified target type.

public:
 virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

Parameters

value
Object

The value to convert.

targetType
Type

The target type.

parameter
Object

Parameters relevant to conversion.

culture
CultureInfo

Culture relevant to conversion.

Returns

Returns a value of the target type.

Implements

Applies to