API Reference > imodeljs-frontend > IModelConnection > IModelConnection.CodeSpecs IModelConnection.CodeSpecs Class The collection of CodeSpec entities for an IModelConnection. Methods Name Description getById(codeSpecId: Id64String): Promise<CodeSpec> Look up a CodeSpec by Id. getByName(name: string): Promise<CodeSpec> Look up a CodeSpec by name. Defined in core/frontend/src/IModelConnection.ts Line 821 Last Updated: 13 June, 2024