API Reference > ecschema-Metadata > Metadata > ECName > constructor constructor Method Construct a new ECName from a valid EC name. throws ECObjectsError if name does not meet the criteria for a valid EC name. ECName(name: string): ECName Parameter Type Description name string Returns - ECName Defined in core/ecschema-metadata/src/ECName.ts Line 42 Last Updated: 11 June, 2024