Unit 'RttiUtils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TPropInfoList.Create

Create a new instance of TPropInfoList.

Declaration

Source position: rttiutils.pp line 57

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: Nov 22 2024