PropertyValueMorphHelper 委托

定义

表示一个委托,该委托用于引用为 ModelItem 属性值处理类型转换的方法。Represents a delegate that is used to reference the method that handles type conversions for ModelItem property values.

public delegate System::Object ^ PropertyValueMorphHelper(ModelItem ^ originalValue, ModelProperty ^ newModelProperty);
public delegate object PropertyValueMorphHelper(ModelItem originalValue, ModelProperty newModelProperty);
type PropertyValueMorphHelper = delegate of ModelItem * ModelProperty -> obj
Public Delegate Function PropertyValueMorphHelper(originalValue As ModelItem, newModelProperty As ModelProperty) As Object 

参数

originalValue
ModelItem

要转换为新类型的模型项属性值。The model item property value to convert to the new type.

newModelProperty
ModelProperty

需要将 originalValue 转换为其类型的模型项属性。The model item property whose type the originalValue needs to be converted to.

返回值

Object

转换的属性值。The converted property value.

继承
PropertyValueMorphHelper

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于