Skip to main content
Table of Contents

TTMSMCPPromptMessages.Items Property

Messages in the conversation, addressed by their position.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPromptMessages Type: TTMSMCPPromptMessage

Syntax

TMS.MCP.Prompts.hppPascalC++
property Items[Index: Integer]: TTMSMCPPromptMessage;
__property TTMSMCPPromptMessage* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

Remarks

This is the default property, so the collection can be indexed directly. A message read from here stays owned by the collection and must not be freed.

Parameters

Name Description
Index Zero-based position of the message.