Table of Contents

TTMSMCPResourceBuilder.Name Method

Sets the identifier the entry is listed under.

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

Syntax

function Name(const AName: string): TTMSMCPResourceBuilder;

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.