Spread Windows Forms 12.0 Product Documentation
IndexOf Method (LegendAreaCollection)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > LegendAreaCollection Class : IndexOf Method
Legend area to locate in collection.
Determines the index of the legend area in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As LegendArea _
) As Integer
'Usage
 
Dim instance As LegendAreaCollection
Dim item As LegendArea
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   LegendArea item
)

Parameters

item
Legend area to locate in collection.

Return Value

Index of the legend area if legend area is found in the collection; otherwise, -1.
See Also

Reference

LegendAreaCollection Class
LegendAreaCollection Members