Skip to main content
Table of Contents

TTMSMCPArrayItemProperties.Add Method

Creates an empty field description and appends it to the collection.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPArrayItemProperties

Overloads

Overload 1

Creates an empty field description and appends it to the collection.

TMS.MCP.Tools.hppPascalC++
function Add: TTMSMCPArrayItemProperty; overload;
HIDESBASE TTMSMCPArrayItemProperty* __fastcall Add()/* overload */;

Returns

The newly created field description, owned by the collection.

Overload 2

Appends a new field description that is a copy of the given one. The source instance is not adopted and not destroyed, so a standalone instance created for this call remains the caller's responsibility.

TMS.MCP.Tools.hppPascalC++
procedure Add(AItem: TTMSMCPArrayItemProperty); overload;
HIDESBASE void __fastcall Add(TTMSMCPArrayItemProperty* AItem)/* overload */;

Parameters

Name Description
AItem The field description to copy into the collection.