BlackFox.Win32.Icons.ExtractEx C# (CSharp) Method

ExtractEx() public static method

public static ExtractEx ( string fileName, SystemIconSize size, int firstIconIndex, int iconCount ) : List
fileName string
size SystemIconSize
firstIconIndex int
iconCount int
return List
        public static List<Icon> ExtractEx(string fileName, SystemIconSize size,
            int firstIconIndex, int iconCount)
        {
            List<Icon> iconList = new List<Icon>();

            switch (size)
            {
                case SystemIconSize.Large:
                    ExtractEx(fileName, iconList, null, firstIconIndex, iconCount);
                    break;

                case SystemIconSize.Small:
                    ExtractEx(fileName, null, iconList, firstIconIndex, iconCount);
                    break;

                default:
                    throw new ArgumentOutOfRangeException("size");
            }

            return iconList;
        }

Same methods

Icons::ExtractEx ( string fileName, List largeIcons, List smallIcons, int firstIconIndex, int iconCount ) : void