Microsoft.ManagementConsole.ActionsPaneItemCollection.OnItemsRemoved C# (CSharp) Метод

OnItemsRemoved() защищенный Метод

protected OnItemsRemoved ( int index, object items ) : void
index int
items object
Результат void
        protected override void OnItemsRemoved(int index, object[] items)
        {
            foreach (ActionsPaneItem item in items)
            {
                item.Changed -= new EventHandler(this.ItemChanged);
            }
            ActionsPaneItem[] destinationArray = new ActionsPaneItem[items.Length];
            Array.Copy(items, destinationArray, items.Length);
            this.SyncData();
            this.Notify(index, destinationArray, ActionsPaneItemCollectionChangeType.Remove);
        }