[]
Represents a collection of lights.
public class LightCollection : IList, ICollection, IList<Light>, ICollection<Light>, IEnumerable<Light>, IEnumerable, IXmlSerializable
Public Class LightCollection
Implements IList, ICollection, IList(Of Light), ICollection(Of Light), IEnumerable(Of Light), IEnumerable, IXmlSerializable
Name | Description |
---|---|
Count | Gets the number of lights in the collection. |
this[int] | Gets or sets the light at the specified index. |
Name | Description |
---|---|
Add(Light) | Adds a light to the collection. |
AddRange(Light[]) | Adds an array of lights to the collection. |
Clear() | Removes all lights from the collection. |
Contains(Light) | Determines whether the collection contains a specific light. |
CopyTo(Light[], int) | Copies the lights in the collection to an array, starting at the specified array index. |
GetEnumerator() | Gets an enumerator that iterates through the collection. |
GetSchema() | This method is reserved and should not be used. |
IndexOf(Light) | Determines the index of the light in the collection. |
Insert(int, Light) | Inserts a light into the collection at the specified index. |
InsertRange(int, Light[]) | Inserts an array of lights into the collection at the specified index. |
OnChanged(EventArgs) | Raises the Changed event. |
ReadXml(XmlReader) | Generates an object from its XML representation. |
Remove(Light) | Removes the specified light from the collection. |
RemoveAt(int) | Removes the light at the specified index. |
WriteXml(XmlWriter) | Converts an object into its XML representation. |
Name | Description |
---|---|
Changed | Occurs when the collection is changed. |