Szerkesztés

Megosztás a következőn keresztül:


ModelPropertyEntryToOwnerActivityConverter.Convert Method

Definition

Converts a ModelPropertyEntry to a ModelItem that owns the property.

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 that is produced by the binding target.

targetType
Type

The type to convert to.

parameter
Object

The converter parameter to use. You can pass a Boolean value in. By default, this converter will always return the parent model item that is of type Activity. If false is passed to this method, the converter will simply return the first parent model item, which might not be a model item that points to a Activity.

culture
CultureInfo

The culture to use in the converter.

Returns

Returns Object.

Implements

Applies to