Skip to main content
Table of Contents

TTMSMCPSessionState.TryGetValue Method

Reads a string value previously stored against this session.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPSessionState

Syntax

TMS.MCP.Server.hppPascalC++
function TryGetValue(const AKey: string; out AValue: string): Boolean;
bool __fastcall TryGetValue(const System::UnicodeString AKey, /* out */ System::UnicodeString &AValue);

Parameters

Name Description
AKey Key to look up.
AValue Receives the stored value when the key exists.

Returns

True when the key was found.