Skip to main content
Table of Contents

TTMSMCPPromptArgumentBuilder.Name Method

Sets the key the value is supplied under.

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

Syntax

TMS.MCP.Prompts.hppPascalC++
function Name(const AName: string): TTMSMCPPromptArgumentBuilder;
TTMSMCPPromptArgumentBuilder* __fastcall Name(const System::UnicodeString AName);

Parameters

Name Description
AName Identifier. Must not be empty.

Returns

The argument builder, so calls can be chained.

Exceptions

Exception Description
EJsonRpcException Raised with invalid-parameters, error code -32602, when the name is empty.