Skip to main content
Table of Contents

TTMSMCPTarget.TargetObject Property

Object whose methods the server invokes.

API unit family: TMS.MCP.Attributes.Server Declaring type: TTMSMCPTarget Type: TObject

Syntax

TMS.MCP.Attributes.Server.hppPascalC++
property TargetObject: TObject;
__property System::TObject* TargetObject = {read=FTargetObject, write=SetTargetObject};

Remarks

Assigning an object also sets the target class from the type of that object, which is what makes its ordinary methods discoverable. The target does not take ownership unless ownership is requested explicitly.