Table of Contents

TXDataStructuredType Class

Base class for the structured types, whose values are objects with scalar and structured properties.

Remarks

The structured types are the entity types and the plain object (instance) types.

Syntax

Unit: XData.Model.Classes

TXDataStructuredType = class(TXDataType);

Methods

Name Description
FindAnyProperty Looks for a scalar or structured property by its name.
FindScalarProperty Looks for a scalar property by its name.
FindStructured​Property Looks for a structured property by its name.
GetScalarProperty Returns a scalar property declared in the type, by its index.
GetStructured​Property Returns a structured property declared in the type, by its index.
ScalarPropertyCount Returns the number of scalar properties declared in the type.
StructuredProperty​Count Returns the number of structured properties declared in the type.

Properties

Name Description
Schema Gets the schema the type belongs to.