ValidatingSelectorValueToDisplayNameConverter.Convert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.