private CustomLayerInfo[] GetLayerInfos()
        {
            int c = this.layerInfos.Count;

            CustomLayerInfo[] customLayerInfos = new CustomLayerInfo[c];

            for (int i = 0; i < c; i++)
            {
                IMapLayerInfo layerInfo = layerInfos.get_Element(i);
                customLayerInfos[i] = new CustomLayerInfo(layerInfo);
            }

            return(customLayerInfos);
        }
        private CustomLayerInfo[] GetLayerInfos()
        {
            int c = this.layerInfos.Count;

            CustomLayerInfo[] customLayerInfos = new CustomLayerInfo[c];

            for (int i = 0; i < c; i++)
            {
                IMapLayerInfo layerInfo = layerInfos.get_Element(i);
                customLayerInfos[i] = new CustomLayerInfo(layerInfo);
            }

            return customLayerInfos;
        }