TXDataSchema.FindInstanceType Method
Looks for an instance type of the schema by its name.
Syntax
Unit: XData.Model.Classes
function TXDataSchema.FindInstanceType(const AName: string): TXDataInstanceType;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The name of the instance type. A name in the format Collection(TypeName) returns the collection type of the named instance type. |
Returns
The instance type, or nil if it is not found.