API Reference > ecschema-Metadata > Metadata > ECClass > getCustomAttributes getCustomAttributes Method Retrieve all custom attributes in the current class and its bases This is the async version of getCustomAttributesSync() getCustomAttributes(): Promise<CustomAttributeSet> Returns - Promise<CustomAttributeSet> Defined in core/ecschema-metadata/src/Metadata/Class.ts Line 541 Last Updated: 11 June, 2024