API Reference > imodeljs-frontend > IModelConnection > IModelConnection > IModelConnection.CodeSpecs IModelConnection.CodeSpecs Class The collection of CodeSpec entities for an IModelConnection. Methods Name Description getById(codeSpecId: string): 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 1012 Last Updated: 12 June, 2024