AttachedProperty.SetValue(ModelItem, Object) 方法

定义

将指定模型项设置为指定值。

public:
 abstract void SetValue(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::Object ^ value);
public abstract void SetValue (System.Activities.Presentation.Model.ModelItem modelItem, object value);
abstract member SetValue : System.Activities.Presentation.Model.ModelItem * obj -> unit
Public MustOverride Sub SetValue (modelItem As ModelItem, value As Object)

参数

modelItem
ModelItem

要设置的模型项。

value
Object

要设置的值。

适用于