exportSchemaXmlString Method @beta
Serializes the specified ECSchema to an XML string.
exportSchemaXmlString(schemaName: string, ecSpecVersion?: ECSpecVersion): undefined | string
@returns The schema XML string, or undefined if the schema was not found or serialization failed.
| Parameter | Type | Description |
|---|---|---|
| schemaName | string | The name of the schema to serialize. |
| ecSpecVersion | ECSpecVersion | The ECXml specification version to use for the output XML. |
Returns - undefined | string
The schema XML string, or undefined if the schema was not found or serialization failed.
Defined in
- backend/src/IModelDb.ts Line 2366
Last Updated: 25 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.