The LevelCollection type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| LevelCollection |
Initializes a new instance of the LevelCollection class
that is empty and has the default initial capacity.
| |
| LevelCollection(ICollection) |
Initializes a new instance of the LevelCollection class
that contains elements copied from the specified Level collection.
| |
| LevelCollection(Int32) |
Initializes a new instance of the LevelCollection class
that has the specified initial capacity.
| |
| LevelCollection( Level ) |
Initializes a new instance of the LevelCollection class
that contains elements copied from the specified Level array.
| |
| LevelCollection(LevelCollection) |
Initializes a new instance of the LevelCollection class
that contains elements copied from the specified LevelCollection.
| |
| LevelCollection(LevelCollection Tag) |
Allow subclasses to avoid our default constructors
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a Level to the end of the LevelCollection.
| |
| AddRange(ICollection) |
Adds the elements of a Level collection to the current LevelCollection.
| |
| AddRange( Level ) |
Adds the elements of a Level array to the current LevelCollection.
| |
| AddRange(LevelCollection) |
Adds the elements of another LevelCollection to the current LevelCollection.
| |
| Clear |
Removes all elements from the LevelCollection.
| |
| Clone |
Creates a shallow copy of the LevelCollection.
| |
| Contains |
Determines whether a given Level is in the LevelCollection.
| |
| CopyTo( Level ) |
Copies the entire LevelCollection to a one-dimensional
Level array.
| |
| CopyTo( Level , Int32) |
Copies the entire LevelCollection to a one-dimensional
Level array, starting at the specified index of the target array.
| |
| (Inherited from | ||
Allows an (Inherited from | ||
| GetEnumerator |
Returns an enumerator that can iterate through the LevelCollection.
| |
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
| IndexOf |
Returns the zero-based index of the first occurrence of a Level
in the LevelCollection.
| |
| Insert |
Inserts an element into the LevelCollection at the specified index.
| |
Creates a shallow copy of the current (Inherited from | ||
| ReadOnly |
Creates a read-only wrapper for a LevelCollection instance.
| |
| Remove |
Removes the first occurrence of a specific Level from the LevelCollection.
| |
| RemoveAt |
Removes the element at the specified index of the LevelCollection.
| |
| (Inherited from | ||
| TrimToSize |
Sets the capacity to the actual number of elements.
|
Properties
| Name | Description | |
|---|---|---|
| Capacity |
Gets or sets the number of elements the LevelCollection can contain.
| |
| Count |
Gets the number of elements actually contained in the LevelCollection.
| |
| IsFixedSize |
Gets a value indicating whether the collection has a fixed size.
| |
| IsReadOnly |
Gets a value indicating whether the IList is read-only.
| |
| IsSynchronized |
Gets a value indicating whether access to the collection is synchronized (thread-safe).
| |
| Item |
Gets or sets the Level at the specified index.
| |
| SyncRoot |
Gets an object that can be used to synchronize access to the collection.
|
See Also