getProperty Method
Find a property by name (case-insensitive). Searches own + inherited.
Note: this resolves the full property list and linear-scans it on every call. For workloads
that hit getProperty repeatedly on the same class with different names, a per-class
resolved-property map cache could be added on the view. Not done now - measure before
optimizing.
getProperty(name: string): SchemaView.Property | undefined
| Parameter | Type | Description |
|---|---|---|
| name | string |
Returns - SchemaView.Property | undefined
Defined in
- ecschema-metadata/src/SchemaView.ts Line 611
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.