ECVersion Class @preview
Methods
| Name | Description | |
|---|---|---|
| constructor(read?: number, write?: number, minor?: number): ECVersion | The constructor will throw an ECSchemaError if any of the parameters below are above the threshold. | |
| compare(rhv: ECVersion): number | Compares two schema versions. | |
| toString(padZeroes: boolean = true): string | Creates a string, in the format 'RR.ww.mm', representing this ECVersion. | |
| fromString(versionString: string): ECVersion Static | Given a valid version string the |
Properties
| Name | Type | Description | |
|---|---|---|---|
| minor Accessor ReadOnly | number | ||
| NO_VERSION Static Readonly | ECVersion | Using a version with all zero is invalid | |
| read Accessor ReadOnly | number | ||
| write Accessor ReadOnly | number |
Defined in
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.