API:System.Generics.Collections.TDictionary.TKeyCollection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TKeyCollection = class(TEnumerable<K>)

C++

class PASCALIMPLEMENTATION TKeyCollection : public TEnumerable__1<K>

Properties

Type Visibility Source Unit Parent
class public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TDictionary

Description

TEnumerable is an abstract class inherited by all enumerable containers.

System.Generics.Collections.TDictionary.TKeyCollection inherits from System.Generics.Collections.TEnumerable. All content below this line refers to System.Generics.Collections.TEnumerable.

TEnumerable is an abstract class inherited by all enumerable containers.

To give your container enumerating functionality, implement and extend the TEnumerable abstract class.

Implement the DoGetEnumerator protected method in order to obtain an instance of the container's enumerator.

See Also