The array contains LegendDataItem objects representing the data items in the legend.
You can add custom legend items by adding new objects of the LegendDataItem class to
the array when the legend mode is LegendMode.Manual.
Example
The following example creates a new legend item and adds it to the legend.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2