Table of Contents

TXDataStructuredType.FindAnyProperty Method

Looks for a scalar or structured property by its name.

Syntax

Unit: XData.Model.Classes

function TXDataStructuredType.FindAnyProperty(const AName: string): TXDataProperty; virtual;

Parameters

<-> Parameter Type Description
const AName string The name of the property. The comparison is case-insensitive.

Returns

The property, or nil if no property with that name exists. Scalar properties are searched first.

See also