A Sandcastle Documented Class Library
Add Method (pixelIndex)
Adds a pixel index to the collection of pixel indices.
Declaration Syntax
C#Visual BasicVisual C++
public void Add(
	byte pixelIndex
Public Sub Add ( _
	pixelIndex As Byte _
void Add(
	unsigned char pixelIndex
pixelIndex (Byte)
The index within a colour table of the colour of the pixel to add to the collection.
This method is provided because the Add method of Collection<(Of <(T>)>) throws a misleading exception when the collection has been instantiated with a fixed size, implying that the collection is read-only rather than that items cannot be added to it.
NotSupportedException The collection was instantiated with a fixed size, therefore no new items can be added to it.

Assembly: GifComponents (Module: GifComponents) Version: 0.1.3594.26453