LevelCollection LevelCollection LevelCollection Class

Definition

Contains a read-only, on-demand collection of Level objects contained in a Hierarchy.

public ref class LevelCollection sealed : System::Collections::ICollection
public sealed class LevelCollection : System.Collections.ICollection
Public NotInheritable Class LevelCollection
Implements ICollection
Inheritance
LevelCollectionLevelCollectionLevelCollection
Implements

Properties

Count Count Count

Gets the number of Level objects in the collection.

IsSynchronized IsSynchronized IsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread safe).

Item[Int32] Item[Int32] Item[Int32]

Gets the specified Level from the collection by its index. In C#, this property is the indexer for the LevelCollection class.

Item[String] Item[String] Item[String]

Gets the specified Level from the collection by its name. In C#, this property is the indexer for the LevelCollection class.

SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

CopyTo(Level[], Int32) CopyTo(Level[], Int32) CopyTo(Level[], Int32)

Copies the elements of the collection to the specified array.

Find(String) Find(String) Find(String)

Gets the specified Level from the collection by its name.

GetEnumerator() GetEnumerator() GetEnumerator()

Gets an Enumerator for iterating through the collection.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the elements of the LevelCollection to the specified array, starting at a particular array index.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets an enumerator that iterates through the LevelCollection.

Applies to