Spread for ASP.NET 12 Product Documentation
IndexOf Method (LightCollection)


FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > LightCollection Class : IndexOf Method
Light to locate in collection.
Determines the index of the light in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As Light _
) As Integer
'Usage
 
Dim instance As LightCollection
Dim item As Light
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   Light item
)

Parameters

item
Light to locate in collection.

Return Value

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

Reference

LightCollection Class
LightCollection Members