[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TCollection.GetAttrCount

Returns the count of attributes associated with each item.

Declaration

Source position: classesh.inc line 482

protected function TCollection.GetAttrCount: Integer; dynamic;

Description

GetAttrCount returns 0 in the TCollection implementation. It can be used to determine the number of attributes associated with each collection item. Descendent objects should override this method to return the number of attributes.

This method is provided for compatibility with Delphi only and is not used in Free Pascal.

See also

TCollection.GetAttr

  

Returns an attribute of the collection.

TCollection.GetItemAttr

  

Returns the attributes of an item.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.