[]
Determines the index of the light in the collection.
public int IndexOf(Light item)
Public Function IndexOf(item As Light) As Integer
| Type | Name | Description |
|---|---|---|
| Light | item | Light to locate in collection. |
| Type | Description |
|---|---|
| int | Index of the light if light is found in the collection; otherwise, -1. |