Skip to main content
Table of Contents

TTMSMCPResourceBuilder.Name Method

Sets the identifier the entry is listed under.

API unit family: TMS.MCP.Resources Declaring type: TTMSMCPResourceBuilder

Syntax

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

Parameters

Name Description
AName Identifier. Must not be empty.

Returns

The builder, so calls can be chained.

Exceptions

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