GetErrorsList() приватный Метод

private GetErrorsList ( ) : ArrayList
Результат System.Collections.ArrayList
Пример #1
0
        private ConfigurationException[] GetReadOnlyErrorsList()
        {
            int count;

            ArrayList arrayList = _thisElement.GetErrorsList();

            count = arrayList.Count;

            // Create readonly array
            ConfigurationException[] exceptionList = new ConfigurationException[arrayList.Count];

            if (count != 0)
            {
                arrayList.CopyTo(exceptionList, 0);
            }

            return(exceptionList);
        }