แก้ไข

แชร์ผ่าน


ViewStateChangedEventArgs(ModelItem, String, Object, Object) Constructor

Definition

Creates a new instance of the ViewStateChangedEventArgs class with a specified parent model item and its key/value pair with the old and the new values.

public:
 ViewStateChangedEventArgs(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ newValue, System::Object ^ oldValue);
public ViewStateChangedEventArgs (System.Activities.Presentation.Model.ModelItem modelItem, string key, object newValue, object oldValue);
new System.Activities.Presentation.View.ViewStateChangedEventArgs : System.Activities.Presentation.Model.ModelItem * string * obj * obj -> System.Activities.Presentation.View.ViewStateChangedEventArgs
Public Sub New (modelItem As ModelItem, key As String, newValue As Object, oldValue As Object)

Parameters

modelItem
ModelItem

An item in the activity designer model that serves as a parent element in the XML view of the model.

key
String

The name of an attribute in the specified parent element.

newValue
Object

The new value for the specified attribute key.

oldValue
Object

The old value of the specified attribute key.

Applies to