Sign in Join
FPDoc Onlineexperiment

TPropInfoList.Create constructor

Member of TPropInfoListpublicIn unit RttiUtils

Create a new instance of TPropInfoList.

Declaration

pascal
constructor 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.