Table of Contents

ITMSMCPCompletionAttribute Interface

Carries the candidate values offered as completions for a prompt argument.

API unit family: TMS.MCP.Attributes Extends: ITMSMCPCustomValueAttribute

Syntax

ITMSMCPCompletionAttribute = interface(ITMSMCPCustomValueAttribute)

Remarks

The value is a single comma-separated list; the individual candidates are exposed through Values. Completion requests are answered with the candidates that start with the text typed so far, compared without case sensitivity.

Properties

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

Methods

Name Description
GetValue Returns the text value carried by the attribute. (inherited from ITMSMCPCustomValueAttribute)
GetValues Returns the candidate values parsed from the comma-separated value.
SetValue Replaces the text value carried by the attribute. (inherited from ITMSMCPCustomValueAttribute)