TTMSMCPTarget.TargetComponent Property
Component used as the target, which is how a target is set at design time.
API unit family: TMS.MCP.Attributes.Server
Declaring type: TTMSMCPTarget
Type: TComponent
Syntax
property TargetComponent: TComponent;
Remarks
Reading the property returns the target object when it is a component, and nil otherwise. Assigning it stores the instance but does not derive the target class from it, and registration needs that class; assign the target object instead, or hand the component to the server, when the reflection pass has to run over it.