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

TPropInfoList.Create

Create a new instance of TPropInfoList

Declaration

Source position: rttiutils.pp line 50

public constructor TPropInfoList.Create(

  AObject: TObject;

  Filter: TTypeKinds;

  Sorted: Boolean = True

);

Arguments

AObject

  

Object whose properties should be listed

Filter

  

Filter on the kind of properties to retrieve

Sorted

  

True if the properties list in Items should be sorted alphabetically

Description

Create allocates and initializes a new instance of TPropInfoList on the heap. It retrieves a list of published properties from AObject: if Filter is empty, then all properties are retrieved. If it is not empty, then only properties of the kind specified in the set are retrieved. Instance should not be Nil

See also

Destroy

  

Remove the TPropInfoList instance from memory


Documentation generated on: May 14 2021