Skip to main content
Table of Contents

TTMSMCPSessionState.TryGetUserData Method

Retrieves an interface reference previously attached to this session.

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

Syntax

TMS.MCP.Server.hppPascalC++
function TryGetUserData(const AGuid: TGUID; out AInterface): Boolean;
bool __fastcall TryGetUserData(const GUID &AGuid, /* out */ void *AInterface);

Parameters

Name Description
AGuid Identifier the entry was stored under.
AInterface Receives the stored reference, or nil when the identifier is unknown.

Returns

True when an entry was found.