Skip to main content
Table of Contents

TTMSMCPTools.FindByName Method

Looks up a tool by the name it is published under. Comparison is case sensitive and the first match wins.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPTools

Syntax

TMS.MCP.Tools.hppPascalC++
function FindByName(const AName: string): TTMSMCPTool;
TTMSMCPTool* __fastcall FindByName(const System::UnicodeString AName);

Parameters

Name Description
AName The published tool name to search for.

Returns

The matching tool, or nil when the collection holds no tool with that name.