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

function TryGetUserData(const AGuid: TGUID; out AInterface): Boolean;

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.