CSReportDll.cReportControls.clear C# (CSharp) Метод

clear() публичный Метод

public clear ( ) : void
Результат void
        public void clear()
        {
            try
            {
                int n = this.count();
                for (int i = 0; i < n; i++)
                {
                    remove(0);
                }
            }
            catch
            {
            }
        }

Usage Example

Пример #1
0
        private void releaseReferences()
        {
            setCopyColl(null);

            if (m_controls != null)
            {
                if (m_controls.getCopyColl() != null)
                {
                    m_controls.getCopyColl().clear();
                    m_controls.setCopyColl(null);
                }
                m_controls.clear();
                m_controls = null;
            }

            m_aspect      = null;
            m_formulaHide = null;
        }