Microsoft.VisualStudio.Project.ImageHandler.AddImage C# (CSharp) Method

AddImage() public method

Add an image to the ImageHandler.
public AddImage ( Image image ) : void
image Image the image object to be added.
return void
        public virtual void AddImage(Image image)
        {
            if(null == image)
            {
                throw new ArgumentNullException("image");
            }
            if(null == imageList)
            {
                imageList = new ImageList();
            }
            imageList.Images.Add(image);
            if(null != iconHandles)
            {
                iconHandles.Add(IntPtr.Zero);
            }
        }