PropertyExpressionCollection.CollectionChanged 事件
在集合中添加、移除或修改项时发生。
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
Public Event CollectionChanged As NotifyCollectionChangedEventHandler
public event NotifyCollectionChangedEventHandler CollectionChanged
public:
virtual event NotifyCollectionChangedEventHandler^ CollectionChanged {
void add (NotifyCollectionChangedEventHandler^ value);
void remove (NotifyCollectionChangedEventHandler^ value);
}
abstract CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
NotifyCollectionChangedEventArgs>
override CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
NotifyCollectionChangedEventArgs>
JScript 不支持事件。
实现
INotifyCollectionChanged.CollectionChanged
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
PropertyExpressionCollection 类