Redigera

Dela via


ModelPropertyEntryToModelItemConverter.Convert Method

Definition

Converts a PropertyEntry derived object to a ModelItem.

Overloads

Convert(Object, Type, Object, CultureInfo)

Converts a ModelItem derived object to a ModelItem.

Convert(Object[], Type, Object, CultureInfo)

Converts a ModelItem derived object to a ModelItem.

Convert(Object, Type, Object, CultureInfo)

Converts a ModelItem derived object to a ModelItem.

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 ModelItem derived object to convert.

targetType
Type

Not used.

parameter
Object

Not used.

culture
CultureInfo

Not used.

Returns

An object that contains the ModelItem, EditingContext, and value of the UI property.

Implements

Applies to

Convert(Object[], Type, Object, CultureInfo)

Converts a ModelItem derived object to a ModelItem.

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[]

An array of ModelItem derived objects to convert.

targetType
Type

Not used.

parameter
Object

The converter parameter to use.

culture
CultureInfo

Not used.

Returns

An object that contains the ModelItem, EditingContext, and value of the UI property.

Implements

Applies to