private List <ExcelColumnInfo> GetDictionaryColumnInfo(IDictionary <string, object> dicString, IDictionary dic) { List <ExcelColumnInfo> props; var _props = new List <ExcelColumnInfo>(); if (dicString != null) { foreach (var key in dicString.Keys) { SetDictionaryColumnInfo(_props, key); } } else if (dic != null) { foreach (var key in dic.Keys) { SetDictionaryColumnInfo(_props, key); } } else { throw new NotSupportedException("SetDictionaryColumnInfo Error"); } props = CustomPropertyHelper.SortCustomProps(_props); return(props); }