ItemContainerGenerator.ItemsChanged 事件

定义

当项集合的内容发生更改时发生。

public:
 virtual event ItemsChangedEventHandler ^ ItemsChanged;
// Register
event_token ItemsChanged(ItemsChangedEventHandler const& handler) const;

// Revoke with event_token
void ItemsChanged(event_token const* cookie) const;

// Revoke with event_revoker
ItemContainerGenerator::ItemsChanged_revoker ItemsChanged(auto_revoke_t, ItemsChangedEventHandler const& handler) const;
public event ItemsChangedEventHandler ItemsChanged;
function onItemsChanged(eventArgs) { /* Your code */ }
itemContainerGenerator.addEventListener("itemschanged", onItemsChanged);
itemContainerGenerator.removeEventListener("itemschanged", onItemsChanged);
- or -
itemContainerGenerator.onitemschanged = onItemsChanged;
Public Custom Event ItemsChanged As ItemsChangedEventHandler 

事件类型

适用于

另请参阅