forEachMetaData MethodStatic
Invoke a callback on each property of the specified class, optionally including superclass properties.
forEachMetaData(iModel: IModelDb, classFullName: string, wantSuper: boolean, func: PropertyCallback, includeCustom: booleantrue): void
@note Custom-handled properties are core properties that have behavior enforced by C++ handlers.
| Parameter | Type | Description | 
|---|---|---|
| iModel | IModelDb | The IModel that contains the schema | 
| classFullName | string | The full class name to load the metadata, if necessary | 
| wantSuper | boolean | If true, superclass properties will also be processed | 
| func | PropertyCallback | The callback to be invoked on each property | 
| includeCustom | boolean | If true (default), include custom-handled properties in the iteration. Otherwise, skip custom-handled properties. | 
Returns - void
Defined in
- core/backend/src/IModelDb.ts Line 1139
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.