Skip to main content
Table of Contents

TTMSMCPPromptArgumentBuilder.Required Method

Marks whether a value has to be supplied for the argument.

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

Syntax

TMS.MCP.Prompts.hppPascalC++
function Required(ARequired: Boolean = True): TTMSMCPPromptArgumentBuilder;
TTMSMCPPromptArgumentBuilder* __fastcall Required(bool ARequired = true);

Parameters

Name Description
ARequired Whether the argument is required. Required by default, which is the opposite of a freshly added argument.

Returns

The argument builder, so calls can be chained.