Compartilhar via


ValueConverter<TSource,TTarget>.Convert Method

Definition

Overloads

Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

protected:
 virtual TTarget Convert(TSource value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected virtual TTarget Convert (TSource value, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : 'Source * obj * System.Globalization.CultureInfo -> 'arget
override this.Convert : 'Source * obj * System.Globalization.CultureInfo -> 'arget
Protected Overridable Function Convert (value As TSource, parameter As Object, culture As CultureInfo) As TTarget

Parameters

value
TSource
parameter
Object
culture
CultureInfo

Returns

TTarget

Returns {0}.

Applies to

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

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
targetType
Type
parameter
Object
culture
CultureInfo

Returns

Implements

Applies to