The methods of the HandleCollector class are listed below. For a complete list of HandleCollector class members, see the HandleCollector Members topic.
![]() ![]() | Adds the given handle to the handle collector. The handle is added to the Forms sealed HandleCollector class so as to consolidate handle tracking between an external class and the internals within that namespace. The garbage collector will automatically determine when/if the handles need to be collected. |
![]() ![]() | Finds if a handle has been registered, and if so, returns its HandleCollector.RegisteredHandleType |
![]() ![]() | Overloaded. Finds the number of handles of a given type that have been registered |
![]() ![]() | Registers a new type of handle with the handle collector. |
![]() ![]() | Removes the given handle from the handle collector. This handle will be removed from the Forms sealed HandleCollector class. Therefore it will not be included in the garbage collection kick-off algorithm. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |