public void Collapse() { try { this._pattern.Collapse(); } catch (System.Runtime.InteropServices.COMException e) { Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; } } }
private static void CollapseList(ExpandCollapsePattern expandCollapsePattern) { expandCollapsePattern.Collapse(); Thread.Sleep(50); }