Click or drag to resize

IndexCollection Methods

The IndexCollection type exposes the following members.

Methods
  NameDescription
Public methodCompareTo(IndexCollection)
Compares the current object with another object of the same type.
Public methodCompareTo(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.
Public methodContains
Public methodCopyTo
Public methodStatic memberDefault
Creates an IndexCollection which ranges from zero to the specified last index.
Public methodEquals(IndexCollection)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromArray(Int32)
Initializes a new instance of the IndexCollection class that contains elements copied from the specified array.
Public methodStatic memberFromArray(Int32, Boolean)
Initializes a new instance of the IndexCollection class whose elements are stored in the specified array.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRange
Creates an IndexCollection which ranges from the specified first index to the specified last index.
Public methodStatic memberSequence
Initializes a new instance of the IndexCollection class that contains a sequence of evenly spaced elements.
Public methodSort
Sorts the IndexCollection in ascending order.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionInt32Add
Explicit interface implementationPrivate methodICollectionInt32Clear
Explicit interface implementationPrivate methodICollectionInt32Remove
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIListInt32Insert
Explicit interface implementationPrivate methodIListInt32RemoveAt
Top
See Also