Table of Contents

TPropertyList.IndexOfName Method

Returns the index of a property given its name.

Syntax

Unit: PropertyList

function TPropertyList.IndexOfName(const Name: string): Integer;

Parameters

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

Returns

Index of the specified property. If the property is not found, -1 is returned.

See also