Table of Contents

TXDataSchema.FindType Method

Looks for a type of any kind by its name.

Syntax

Unit: XData.Model.Classes

function TXDataSchema.FindType(const Name: string): TXDataType;

Parameters

<-> Parameter Type Description
const Name string The name of the type.

Returns

The scalar type, entity type or instance type with that name, searched in that order, or nil if it is not found.

See also