| Visual Basic (Declaration) | |
|---|---|
Public Default Property Item( _ ByVal index As Integer _ ) As LegendArea  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As LegendAreaCollection Dim index As Integer Dim value As LegendArea instance.Item(index) = value value = instance.Item(index)  | |
| C# | |
|---|---|
public LegendArea this[ int index ]; {get; set;}  | |
Parameters
- index
 - Index of legend area.
 
Property Value
Legend area.| Exception | Description | 
|---|---|
| System.ArgumentNullException | item is a null reference (Nothing in VB). | 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8