API Reference > ecschema-Metadata > Metadata > ECClass > addProperty addProperty MethodProtected Convenience method for adding an already loaded ECProperty used by create*Property methods. addProperty<T extends Property<T>>(prop: T): T Parameter Type Description prop T The property to add. Returns - T The property that was added. Defined in core/ecschema-metadata/src/Metadata/Class.ts Line 56 Last Updated: 12 June, 2024