Share via


ValidatingSelectorValueToDisplayNameConverter.Convert Method

Definition

Takes in a value and a converter and runs the converter on the value returning a display friendly name.

public:
 virtual System::Object ^ Convert(cli::array <System::Object ^> ^ values, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object[] values, 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 (values As Object(), targetType As Type, parameter As Object, culture As CultureInfo) As Object

Parameters

values
Object[]

The first parameter is the value to get the display name for. The second parameter is the converter.

targetType
Type

Type of string.

parameter
Object

The parameter is not used.

culture
CultureInfo

The parameter is not used.

Returns

Returns a display friendly name for the first value.

Implements

Applies to