ModelChangedEventArgs 类

定义

一个表示事件数据的抽象基类,该事件数据保存了对前一个编辑会话中的模型项树的更改的相关说明。An abstract base class that represents the event data that holds a description of the changes in the model item tree in the previous editing session.

public ref class ModelChangedEventArgs abstract : EventArgs
public abstract class ModelChangedEventArgs : EventArgs
type ModelChangedEventArgs = class
    inherit EventArgs
Public MustInherit Class ModelChangedEventArgs
Inherits EventArgs
继承
ModelChangedEventArgs

注解

此事件数据可由 ModelChanged 事件的订阅方使用。This event data can be used by subscribers of the ModelChanged events.

构造函数

ModelChangedEventArgs()

创建 ModelChangedEventArgs 类的新实例。Creates a new instance of the ModelChangedEventArgs class.

属性

ItemsAdded

由派生类实现时,获取已添加的事件参数对象的枚举。When implemented by a derived class, gets an enumeration of event argument objects that have been added.

ItemsRemoved

由派生类实现时,获取已移除的事件自变量对象的枚举。When implemented by a derived class, gets an enumeration of event argument objects that have been removed.

ModelChangeInfo

通过派生类实现时,获取有关在模型中所做的更改的详细信息。When implemented by a derived class, gets the detailed information about the changes made in a model.

PropertiesChanged

由派生类实现时,获取已更改的属性的枚举。When implemented by a derived class, gets an enumeration of properties that have been changed.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于