IndexCollection Methods |
The IndexCollection type exposes the following members.
Name | Description | |
---|---|---|
CompareTo(IndexCollection) |
Compares the current object with another object of the same type.
| |
CompareTo(Object) |
Compares the current instance with another object of the same type and
returns an integer that indicates whether the current instance precedes, follows,
or occurs in the same position in the sort order as the other object.
| |
Contains | Determines whether the ICollectionT contains a specific value. | |
CopyTo | ||
Default |
Creates an IndexCollection which ranges from zero to
the specified last index.
| |
Equals(IndexCollection) |
Indicates whether the current object is equal to another object of the same type.
| |
Equals(Object) | (Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromArray(Int32) |
Initializes a new instance of the IndexCollection class
that contains elements copied from the specified array.
| |
FromArray(Int32, Boolean) |
Initializes a new instance of the IndexCollection class
whose elements are stored in the specified array.
| |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Determines the index of a specific item in the IListT. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Range |
Creates an IndexCollection which ranges from the specified
first index to the specified last index.
| |
Sequence |
Initializes a new instance of the IndexCollection class
that contains a sequence of evenly spaced elements.
| |
Sort |
Sorts the IndexCollection in ascending order.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
ICollectionInt32Add |
Adds an item to the ICollectionT.
This implementation always throws a NotSupportedException.
| |
ICollectionInt32Clear |
Removes all items from the ICollectionT.
This implementation always throws a NotSupportedException.
| |
ICollectionInt32Remove |
Removes the first occurrence of a specific object from the ICollectionT.
This implementation always throws a NotSupportedException.
| |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. | |
IListInt32Insert |
Inserts an item to the IListT at the specified index.
This implementation always throws a NotSupportedException.
| |
IListInt32RemoveAt |
Removes the IListT item at the specified index.
This implementation always throws a NotSupportedException.
|