public void ClearAll() { int cnt = _items.Count; for (int i = 0; i < cnt; i++) { RelationItem item = _items[i]; item.Dispose(); } _items.Clear(); }
static public int ClearAll(IntPtr l) { try { FairyGUI.Relations self = (FairyGUI.Relations)checkSelf(l); self.ClearAll(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }