SchemaView.StructProperty Class @beta
A scalar struct property. structClass is non-nullable - the binary parser drops
properties whose struct class can't be resolved (e.g. from excluded schemas).
Extends
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| assertArray(): this is SchemaView.AnyArrayProperty Inherited | SchemaView.Property | |
| assertNavigation(): this is SchemaView.NavigationProperty Inherited | SchemaView.Property | |
| assertPrimitive(): this is SchemaView.AnyPrimitiveProperty Inherited | SchemaView.Property | |
| assertStruct(): this is SchemaView.AnyStructProperty Inherited | SchemaView.Property | |
| isArray(): this is SchemaView.AnyArrayProperty Inherited | SchemaView.Property | True for SchemaView.PrimitiveArrayProperty and SchemaView.StructArrayProperty. |
| isEnumeration(): this is SchemaView.AnyPrimitiveProperty Inherited | SchemaView.Property | True if this property is backed by an enumeration. |
| isNavigation(): this is SchemaView.NavigationProperty Inherited | SchemaView.Property | True for SchemaView.NavigationProperty. |
| isPrimitive(): this is SchemaView.AnyPrimitiveProperty Inherited | SchemaView.Property | True for SchemaView.PrimitiveProperty and SchemaView.PrimitiveArrayProperty. |
| isStruct(): this is SchemaView.AnyStructProperty Inherited | SchemaView.Property | True for SchemaView.StructProperty and SchemaView.StructArrayProperty. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| structClass Accessor ReadOnly | SchemaView.Class |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| _ctx Protected Readonly Inherited | SchemaView | SchemaView.Property | |
| category Accessor Inherited ReadOnly | SchemaView.PropertyCategory | undefined | SchemaView.Property | Property category. If there is no local category and the property is an override, we take this from the overridden property. Available on all property kinds. |
| declaringClass Accessor Inherited ReadOnly | SchemaView.Class | undefined | SchemaView.Property | The class that declared or contributed this property through inheritance. For own properties, returns the class itself. For inherited properties, returns the base class or mixin that introduced it. Returns undefined for view properties.This is the class array index, not the ec_Class.Id from the database. |
| description Accessor Inherited ReadOnly | string | SchemaView.Property | |
| ecInstanceId Accessor Inherited ReadOnly | number | SchemaView.Property | Row ID from ec_Property. Matches ECInstanceId in ECDbMeta views, e.g.SELECT * FROM meta.ECPropertyDef WHERE ECInstanceId = ?.Stored per-reference (not per-definition) because each class-property pair has a unique ec_Property row even when the structural definition is deduplicated. |
| isEffectivelyHidden Accessor Inherited ReadOnly | boolean | SchemaView.Property | True if this declaration is hidden. If it is not and the property is an override, we take this from the overridden property. Limitation: HiddenProperty(Show=true) reads the same as no HiddenProperty, so it does notunhide a property whose overridden property is hidden. |
| isHidden Accessor Inherited ReadOnly | boolean | SchemaView.Property | Reflects the HiddenProperty custom attribute from CoreCustomAttributes on this declaration only;see isEffectivelyHidden. Properties marked hidden are typically excluded from UI display but remainaccessible programmatically. |
| isReadOnly Accessor Inherited ReadOnly | boolean | SchemaView.Property | |
| kind Accessor Inherited ReadOnly | PropertyKind | SchemaView.Property | |
| label Accessor Inherited ReadOnly | string | SchemaView.Property | Display label, or the decoded property name when the label is absent or empty. Labels are stored per-reference (not per-definition) because EC allows class overrides. |
| name Accessor Inherited ReadOnly | string | SchemaView.Property | |
| priority Accessor Inherited ReadOnly | number | SchemaView.Property | Display priority. Higher values should be displayed more prominently. 0 means default. Not inherited from the overridden property: an omitted priority is stored as 0, which cannot be told apart from an explicit 0 that overrides a base priority. |
Defined in
Last Updated: 05 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.