The methods of the CollectionInfo class are listed below. For a complete list of CollectionInfo class members, see the CollectionInfo Members topic.
Add | Overloaded. [To be supplied.] |
Clear | Removes all items from the collection. |
Equals (inherited from Object) | Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetAll | Access the entire list of items in the collection. Retrieving this array returns a shallow copy snapshot of all items in the collection. |
GetCount | Number of items contained in the collection. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetItem | Access an item at the specified index. |
GetType (inherited from Object) | Gets the Type of the Object. |
SetAll | [To be supplied.] |
SetItem | [To be supplied.] |
SupportsAdd | Determines if the Add operation is supported on this collection type. |
SupportsGetAll | Determines if getting the Items property is supported on this collection type. |
SupportsGetCount | Determines if getting the Count property is supported on this collection type. |
SupportsGetItem | Determines if getting the ItemAt property is supported on this collection type. |
SupportsSetAll | Determines if setting the Items property is supported on this collection type. |
SupportsSetItem | Determines if setting the ItemAt property is supported on this collection type. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
CollectionInfo Class | System.WinForms.ComponentModel Namespace