Skip to main content
Table of Contents

TTMSMCPPrompts.Add Method

Appends an empty prompt and returns it so its properties can be filled in.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPrompts

Syntax

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

Remarks

Nothing is validated here, so the prompt is incomplete until at least a name and a handler have been assigned.

Returns

The new prompt, which stays owned by the collection.