Table of Contents

TXDataSchema.FindScalarType Method

Looks for a scalar type by its name.

Syntax

Unit: XData.Model.Classes

function TXDataSchema.FindScalarType(const Name: string): TXDataScalarType;

Parameters

<-> Parameter Type Description
const Name string The name of an enumerated type of the schema or of a primitive type. A name in the format Collection(TypeName) returns the collection type of the named primitive type.

Returns

The scalar type, or nil if it is not found.

See also