共用方式為


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 

事件類型

適用於

另請參閱