Table of Contents

TTMSMCPCompletionAttribute Class

Supplies the completion candidates offered for a prompt argument.

API unit family: TMS.MCP.Attributes Inherits from: TTMSMCPCustomValueAttribute Implements: ITMSMCPCompletionAttribute

Syntax

TTMSMCPCompletionAttribute = class(TTMSMCPCustomValueAttribute, ITMSMCPCompletionAttribute)

Remarks

Pass the candidates as one comma-separated string, for example [TTMSMCPCompletionAttribute('draft, review, final')]. A completion request is answered with the candidates that start with the text typed so far, compared without case sensitivity, and with the full list when nothing has been typed yet.

Properties

Name Description
Value Text value carried by the attribute. (inherited from TTMSMCPCustomValueAttribute)
Values Candidate values parsed from the comma-separated value, with surrounding white space removed.

Used by